diff options
author | Vincent Ambo <Vincent Ambo> | 2020-01-11T02·17+0000 |
---|---|---|
committer | Vincent Ambo <Vincent Ambo> | 2020-01-11T02·17+0000 |
commit | d4e469508f9bb9fdd8c349c53ab4fd0ef5f3e87e (patch) | |
tree | 8e4a00b4b6ad7197f7a22d89feabdd39ade8bd7f /LICENSE | |
parent | 97f069db9e082303becc489cf2a963fb2b351c2c (diff) |
refactor(cheddar): Extract code block highlighting into function
Since I am going down the path of adding additional Markdown extensions it makes sense to avoid letting `format_markdown` turn into a giant beast of a function. Therefore this commit extracts the logic for rendering code blocks via syntect and changes the innards of `format_markdown` to instead provide arbitrary AST value replacements.
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions