News for hackers. Stuff that matters.
Re:Math on GitHub: The Good, the Bad and the Ugly by edflsafoiewq on Saturday May 21, 2022 @09:57AM (#31457975)
It's how Github already handles Mermaid diagrams, so there's precedent, although you're correct that logically there should be a distinction between "display highlighted Mermaid source" and "render Mermaid diagram".
Re:Math on GitHub: The Good, the Bad and the Ugly by ajnin on Saturday May 21, 2022 @10:07PM (#31464252)
Yes, and now they've reached a dead since they have no way to render mermaid source code except as plain text or by introducing a new name like mermaid-src. It's minor but it's unsatisfying conceptually. I'd rather have them introduce a new "run delimited text into external program and replace by output" tag.