Closed koraa closed 4 years ago
ok, I see the problem, but don't think Source Pro Code font fits there stylistically. Maybe just decreasing inner .usertext heading size is ok?
Hmm, I tried this and I do not think that's enough. Expressing five levels of headers accurately using just font size, style & margin is already very hard. Either your h1 and h2 become to big, or your h5 are barely visible any more. Double the amount would be extremely difficult to accurately represent…
I think using a distinct font is the best way to achieve this; personally I do like source code pro, but that is completely a matter of taste… which font would you like?
When markdown is used inside jsdoc, any headers are just emitted as is; in practice this leads to bigger headers inside smaller headers (h1 inside h2 in the readme), which does not look very good.
This commit introduces a special set of header styles for use inside documentation, which makes the case above look great.