Have just realised that I can get vim to automatically underline a header in a markdown or reST file by copying the line, and running s/./-/g.

🤦

A Mastodon instance for maths people. The kind of people who make $\pi z^2 \times a$ jokes.

Use $ and $ for inline LaTeX, and $ and $ for display mode.