about summary refs log tree commit diff
path: root/tools/cheddar/.skip-subtree
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-12-21T15·57+0000
committerVincent Ambo <tazjin@google.com>2019-12-21T15·57+0000
commitf90495138483698c954620564d93e2c42a114c9f (patch)
tree980e201f78ed238a1a61053449aa3908b49a5b8b /tools/cheddar/.skip-subtree
parent671dbc7f72c2ccd1bbd1aa3ae66a0e627382eebd (diff)
feat(cheddar): Render code blocks in Markdown via syntect r/287
Implements fully static (i.e. no JavaScript!) highlighting of code
blocks when rendering Markdown.

This works by walking through the Comrak AST and replacing any code
blocks with pre-rendered HTML blocks.

Syntaxes are chosen based on the "block info", which is the string
users put after the block's opening fence. This can either be
a (case-insensitive) name of a syntax, or alternatively a file
extension associated with the desired syntax.

The theme is set to one that imitates GitHub.
Diffstat (limited to 'tools/cheddar/.skip-subtree')
0 files changed, 0 insertions, 0 deletions