Add option to append CSS styling to code block

Issue #66 new
Hector Palacios created an issue

The idea is to have a new parameter style=<string> that appends <string> to the style parameter of the 'syntaxplugin' div. This will allow for some CSS customization, like having two code blocks that you can compare side-by-side, by just adding style="float:left; width=50%":

{code:title=0x05 variant|style="float:left; width=50%"}

syntax_style.png

but also other styling, like border, background...

syntax_style2.png

Comments (3)

  1. Log in to comment