flâneur — a map of the web's best reading

LaTeX.css — Make your website look like a LaTeX document

latex.vercel.app · 1,830 words · saved by 2 readers

A minimal, almost class-less CSS library to write modern websites that look like LaTeX documents.

Getting Started Add the line <link rel="stylesheet" href="https://latex.vercel.app/style.css"> to the <head> of your website or install the package using npm install latex.css . (optional) Add any classes to elements described in the next section . (optional) Add dark mode by adding the latex-dark-auto class to the <body> . More infos here . (optional) If you need support for L a T e X math, add the following script to include MathJax : <script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script> (optional) If you need syntax highlighting, add t

Explore this link on the map →

saved by

related reading