Comment

Comment by benrbray

Yes, please do! My job involves a lot of math, so it a dealbreaker for me when notetaking software doesn't have math support. These days it's very easy to include! The easiest way is to use KaTeX [1] to render math between dollar sign tags for inline math like this $x+y=5$ and for display math like this:

  $$
  \int_a^b f(x) dx
  $$
Many markdown parsers (like markdown-it) have plugins for math support. In the future, I would also heavily recommend looking into using ProseMirror [2] for wysiwyg Markdown editing.

(I'm currently working on adding wysiwyg math editing to ProseMirror -- see the gifs here [3] for an early proof of concept).

[1] https://katex.org/ [2] https://prosemirror.net/ [3] https://github.com/benrbray/prosemirror-math

parent benrbray 6 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton