[Devlog 2] Latex, GFM, HTML sanitization
Nathan Luong | March 16, 2023 |4
Expanding Blogs Functionalities
š Support Katex for Math equation inputs (react-katex
and the remark-math
plugin)
Block Equations:
Inline Equations:
Calculate the value of when and at
š Support Github-flavored-Markdown(remarkGfm
plugin)
-
Render Markdown table as HTML Table
ID Blogs # Views 1 14 2 9 3 10 4 5 5 Portfolio devlog 2 0 -
Render read-only input-field
- [x] Implement `gfm`
- [ ] Post this blog post
š Rendered as:
- Implement
gfm
- Post this blog post.
š Support raw HTML rendering (rehype-raw
plugin)
<center>
<iframe width="560" height="315"
src="https://www.youtube.com/embed/88Jv7J4yjU4"
title="YouTube video player" frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
allowfullscreen>
</iframe>
</center>
š Rendered as: