Better Markdown support: Built-in LaTeX, syntax highlighting, header IDs, etc
It'd be nice with built-in support for all this: (and maybe simpler to fix these things at the same time)
- CommonMark syntax inline help, see: Inline CommonMark formatting help
- Maths (LaTeX via KaTeX), and preferably disable CommonMark's handling of underscore
\, so people won't need to write e.g.
\int\_fromSomething^toSomething. (In CommonMark,
_otherwise makes text italic:;
- Source code syntax highlighting (Prism.js) (see: How to add Syntax Highlighting). And support many languages (not just one).
- Diagrams (Mermaid)
- Auto generate heading IDs (for deep linking into a doc. See: Headers don't have IDs?)
[ ] do something
- All links to external web pages could optionally open in new tabs — make configurable?
~~Strikethrough~~, see: Markdown: strikethrough
- Box-shadows around
<img>? See: Add a border to images
- 2 回复
Hey, would it be possible to add in Maths support sometime soon for commenting on blogs? What is the status of this? Thanks!
- KajMagnus @KajMagnus2023-04-18 04:47:59.324Z
Built-in support: That's probably going to take a while, >= some months. So much to do.
It's possible, though, to do it yourself, until then — if you have a look here: $\LaTeX$ demo (works inside this topic only).
I'm guessing that later on, you'll be able to click a radio button, and choose:
Maths support: (x) None, ( ) MathJax3, ( ) KaTeX
depending on what works best for that forum / blog. — What maths support lib would you prefer b.t.w. (if you have any preferences)?
- @KajMagnus marked this topic as Planned 2022-02-04 13:44:42.938Z.