Show HN: Rendering Markdown with LaTeX in the Terminal
Category: library
Tags: markdown, terminal, latex, rendering, cli
Score: 7.3/10 (Innovation: 7, Technical: 7, Documentation: 8, Utility: 7)
Glamour is a Go library that renders Markdown with styled ANSI output in terminals, and this project extends it by adding LaTeX-to-image rendering via the CodeCogs API, enabling mathematical formulas to display inline in terminal TUIs using kitty's Unicode placeholder protocol. The approach is innovative because it combines LaTeX rendering with streaming TUI updates and cached background goroutines, solving a real pain point for terminal-based LLM interactions and math-heavy workflows.
Target audience: backend devs, devops
Repository: https://mil.ad/blog/2026/latex-in-markdown.html · Go · MIT · 3573 stars
View on Hacker News