Skip to content

Basic Comment Preview

Pre-release
Pre-release
Compare
Choose a tag to compare
@VincentTam VincentTam released this 19 Nov 08:28
· 182 commits to master since this release

Demo: https://vincenttam.gitlab.io/bhdemo

comment_preview

Technologies used:

  1. KaTeX math rendering (I added some more popular delimiters to the default ones.)
  2. Showdown Markdown parsing

Limitations:

  • Hugo and Showdown have different flavor of Markdown by default
  • Custom KaTeX macros are not supported unless you inject them into where renderMathInElement is called.