bsnes/docs/concepts
Tim Allen 56cb9c01a5 Hack around some code-block formatting errors.
By default, mkdocs uses "highlight.js" to apply syntax-highlighting
to code blocks. Left to its own devices, highlight.js will guess the
language being used in the code block, apply the "hljs" CSS class
(so the code block will be given a nice border, a sensible font-size,
etc.) and apply the appropriate formatting markup. If it guesses wrongly,
you can give a language hint on the opening line of the block.

If you use a language that highlight.js does not recognise, or
the special name "nohighlight", highlight.js will leave the block
alone. Unfortunately, in mkdocs' default theme, that means it will be
formatted like *inline* code, with a border and background that wraps
behind each line of the block.

In order to make a code-block that looks like a code-block, you have
to carefully pick a language that highlight.js has heard of, but whose
syntax is sufficiently different from whatever's in the block that no
unwanted highlighting will occur.

This seems to be fixed in the readthedocs theme that comes with mkdocs
0.16.1, but ReadTheDocs doesn't actually seem to be using that version. :/
2017-11-11 18:22:08 +11:00
..
game-folders.md Hack around some code-block formatting errors. 2017-11-11 18:22:08 +11:00
game-library.md Many typos and grammar fixes from dan1982 on the higan forums. 2017-08-31 15:19:43 +10:00
manifests.md Many typos and grammar fixes from dan1982 on the higan forums. 2017-08-31 15:19:43 +10:00
save-states.md Finally finished reviewing and polishing all the text! 2017-08-29 17:22:11 +10:00