News for hackers. Stuff that matters.
Re:Show HN: Trilium Notes – Scriptable note-taking application by mkl on Sunday January 06, 2019 @06:17PM (#18841385)
Does this support maths notation? E.g. Latex code interpreted with Katex or MathJax, or WYSIWYG with MathQuill.

I see there may be relevant CKEditor plugins. Could these be used?

Re:Show HN: Trilium Notes – Scriptable note-taking application by The_Colonel on Sunday January 06, 2019 @06:23PM (#18841414)
Currently no support.

I use CKEditor 5 which is very very nice, but still a bit immature in its plugin ecosystem.

LaTex support is definitely something I've been thinking about, but I'm still not sure about how to approach it.

This might be also one of the showcases for the scripting support. User can load e.g. KaTex as a script, bind it to the "code note" which it will render into a view e.g. above the code editor. But that's not very user friendly for sure.

Re:Show HN: Trilium Notes – Scriptable note-taking application by MrTrvp on Sunday January 06, 2019 @08:23PM (#18842015)
You should look at https://katex.org/
Re:Show HN: Trilium Notes – Scriptable note-taking application by QML on Sunday January 06, 2019 @11:06PM (#18842702)
Two popular note taking apps which do this are Dropbox Paper and Notion.so, but they only support inline math. A niche app that does both is Gitbook but they’re a newer company and I’m not sure about personal plans.

Edit: I should add neither of these support code execution. I would really love if someone could point to a Wikipedia / knowledge base composed of Jupyter notebooks but have the functionality inverted — primarily focused on note taking and secondarily on code execution.

Re:Show HN: Trilium Notes – Scriptable note-taking application by evertheylen on Monday January 07, 2019 @03:39AM (#18843715)
I've made a small userscript for inline math in Notion.so: https://github.com/evertheylen/notion-inline-math

I'm using it extensively myself :)

Re:Show HN: Trilium Notes – Scriptable note-taking application by singhrac on Sunday January 06, 2019 @09:24PM (#18842257)
Want to add on that TeX support is pretty much the only thing holding me back from this. I feel like KaTeX is not only easy to integrate but also full featured.

I'd be incredibly impressed if you could render full LaTeX though - e.g. via a renderer switch and a PDF viewer like PDF.js.

Re:Show HN: Trilium Notes – Scriptable note-taking application by mkl on Monday January 07, 2019 @01:13AM (#18843174)
I looked a bit more, and found this demo: https://www.youtube.com/watch?v=XwNjwP9DMAc

It seems pretty great, but there's no code available as far as I can tell.

Re:Show HN: Trilium Notes – Scriptable note-taking application by raddledsplash on Monday January 07, 2019 @02:27AM (#18843433)
hackmd.io has a pretty nice latex supported. I find it much better for math notation than dropbox paper. It also has docker image available incase the service happens to shutdown.

https://hackmd.io/