Commit Graph

6 Commits

Author SHA1 Message Date
Solomon 23b8ed8899 improvement: use lang-* classes declared in snippet markup (#97)
* improvement: use lang-* classes declared in snippet markup

* fix: don't require snippet lang classes in code blocks

* fix: constrain greedy code block match
2024-03-28 19:59:28 -04:00
httpjamesm 42ad68fe34 refactor: highlight code blocks function 2024-03-09 11:14:39 -05:00
httpjamesm c0df07abad refactor: use existing PreventSurroundingPre 2022-12-29 12:22:59 -05:00
httpjamesm 5bd9ce484f fix: escape code blocks to prevent HTML injection 2022-12-28 22:18:18 -05:00
httpjamesm 96d4f768d9 feat: syntax highlighting for question codeblocks 2022-12-28 19:10:14 -05:00
httpjamesm 631a700c9f feat: highlight code blocks within answers 2022-12-28 18:51:14 -05:00