Request: Theme Customization per code block
See original GitHub issueAdd support for attribute controlling what theme/style the code snippet should show in. As well as a language tag for specifying what language it is. The theme attribute could be set to the current theme unless anything else is set.
<pre><code language="cs" theme="dracula">
using system.net
namespace myApp {
int myapp = new App();
myapp.isAwesome();
}
</code></pre>
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (6 by maintainers)
Top Results From Across the Web
How do I add a custom theme to the code block macro?
It's not possible to customize the theme of the code block macro, but I've raised a feature request below for this: CONFSERVER-59314 Ability...
Read more >How to Use the WordPress Code Block - Elegant Themes
The first setting uses left and right arrows. This changes the block to a Custom HTML Block, Preformatted Block, changes the columns, and...
Read more >Creating WordPress block themes - Full Site Editing
Introduction to creating block-based WordPress themes for full site editing. Learn more about the theme file structure and block templates.
Read more >How to Customize Your WordPress Theme (5 Step-by ... - Kinsta
Need to change the look of your WordPress theme? Learn how to customize WordPress themes properly using one of the best methods (tutorial)....
Read more >Creating a custom HTML theme - Tumblr
How to create a custom HTML theme. Want to create a custom look for your blog? If you're comfortable hand-coding HTML, then you've...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Every feature - no, but this one looks like something that can be accepted for me.
You can already do half of this with class: