Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/epiqueras/carbon-code

WordPress plugin that adds the beautiful code editor from carbon.now.sh to the block editor.
https://github.com/epiqueras/carbon-code

gutenberg gutenberg-blocks gutenberg-code-block gutenberg-plugin

Last synced: 16 days ago
JSON representation

WordPress plugin that adds the beautiful code editor from carbon.now.sh to the block editor.

Awesome Lists containing this project

README

        

# Carbon Code

Carbon Code Icon

#### The easiest way to create beautiful images of code comes to

#### Gutenberg, the WordPress block editor!

---

![Carbon Code Banner](https://github.com/epiqueras/carbon-code/raw/master/assets/banner-1544x500.png 'Carbon Code Banner')

## How To

- Add a **"Carbon Code" Block** to your post.
- Write your code directly in the editor, copy/paste, or even **drag a file into it**.
- Use the toolbar to **customize** the _syntax highlighting theme_, _background color/image_, _window effects/paddings_, _fonts_, and even _upload your own_. Then save your customizations as a _preset_.
- Brace for awesomeness!
- Your preview or published post will render your customized block with a handy **copy to clipboard button**.

## Screenshots

![Carbon Code Block with customizer open.](https://github.com/epiqueras/carbon-code/raw/master/assets/screenshot-1.png 'Carbon Code Block with customizer open.')
![Carbon Code Block with background picker open.](https://github.com/epiqueras/carbon-code/raw/master/assets/screenshot-2.png 'Carbon Code Block with background picker open.')
![Published Carbon Code Block.](https://github.com/epiqueras/carbon-code/raw/master/assets/screenshot-3.png 'Published Carbon Code Block.')

## Thanks

To everyone who worked on [Carbon](https://github.com/dawnlabs/carbon), which this project forked.