.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; } }