Get the latest tech news
LaTeX.css – Make your website look like a LaTeX document
A minimal, almost class-less CSS library to write modern websites that look like LaTeX documents.
Sidenotes do need a little bit of setup, they are made up of a label, an invisible checkbox on top of the number and a span with the text inside. It is best to break up long equations into smaller parts, but when this isn't possible, consider wrapping the overflowing element with a class of scroll-wrapper to allow scrolling on the x-axis. If you need syntax highlighting for code, LaTeX.css provides a PrismJS theme that immitates the minted package for LaTeX.
Or read this on Hacker News