HermanMartinus / bearblog

Free, no-nonsense, super fast blogging.
MIT License
2.63k stars 75 forks source link

Add Support for Scientific Notation Using KaTeX or Whatever #177

Closed UsernamesAreFuckedUp closed 1 year ago

UsernamesAreFuckedUp commented 2 years ago

Some bloggers might want to add some math/scientific notation, and there's no option but to take "screenshots" and put the formula or equation as an image. KaTeX claims to be faster and can also be easily self-hosted. For minimalism purposes, you can add a per-post header option such as use_katex which can be either True or False, thus preventing all posts from loading the script. Learn more about KaTeX.

HermanMartinus commented 2 years ago

It's something I've been considering for while, but has the potential to add a lot of complexity to what is ostensibly a simple system. Every new feature comes with baggage ;)

In the meantime, you can add scientific notation with upmath as described in the docs.

HermanMartinus commented 1 year ago

Moved to the new suggestion board. Github issues reserved for bugs going forward.