Code Shortcode Dark Theme
-
Is there an option to have a dark background to display the source code using the [code] shortcode ?
The blog I need help with is: (visible only to logged in users)
-
You could use the ‘highlight’ parameter in the [code] shortcode to get a slightly darker background.
for example this would highlight rows 1-10:
[code language=html highlight=1-10][/code]This is the closest thing I could find to making the background darker when using the [code] shortcode.
Hope this helps!
- The topic ‘Code Shortcode Dark Theme’ is closed to new replies.