about summary refs log tree commit diff
path: root/src/hello2.erl (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2019-12-21 r/288 feat(cheddar): Style pre-elements for better readabilityVincent Ambo1-4/+22
Uses GitHub-like styling for <pre> elements, i.e. slight padding and background colour highlighting.
2019-12-21 r/287 feat(cheddar): Render code blocks in Markdown via syntectVincent Ambo1-26/+82
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.
2019-12-21 r/286 docs(cheddar): Mention cgit filter compatibility in READMEVincent Ambo1-0/+11
2019-12-21 r/285 chore(third_party): Remove pulldown-cmark againVincent Ambo2-16/+0
2019-12-21 r/284 chore(build): Add cheddar to ci-builds.nixVincent Ambo1-0/+1
2019-12-21 r/283 feat(cgit-taz): Use cheddar as the about-filterVincent Ambo1-1/+1
This will render about pages using the Comrak renderer defined in Cheddar. Note that due to the way its implemented this will have one interesting behaviour: Markdown files in the tree will *also* be rendered as HTML. I will need to see how that works out before deciding whether or not to disable it.
2019-12-21 r/282 feat(cheddar): Render Markdown via ComrakVincent Ambo1-9/+24
Renders any ".md" file by pushing it through the Comrak rendering pipeline. This does not yet implement syntax highlighting of fenced blocks, but we