about summary refs log tree commit diff
path: root/tools/emacs/config/init.el
diff options
context:
space:
mode:
authorVincent Ambo <Vincent Ambo>2020-01-11T02·17+0000
committerVincent Ambo <Vincent Ambo>2020-01-11T02·17+0000
commitd4e469508f9bb9fdd8c349c53ab4fd0ef5f3e87e (patch)
tree8e4a00b4b6ad7197f7a22d89feabdd39ade8bd7f /tools/emacs/config/init.el
parent97f069db9e082303becc489cf2a963fb2b351c2c (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 'tools/emacs/config/init.el')
0 files changed, 0 insertions, 0 deletions