.CodeMirror { .cm-heading { font-weight: normal; } .cm-heading[cm-level="1"] { font-style: normal; font-weight: bold; // You can also change the size by uncommenting // the following two lines. //font-size: @fontSize * 1.5; //line-height: @lineHeight * 1.5; } .cm-heading[cm-level="2"] { font-style: italic; font-weight: normal; } }
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter