vincentdoerig / latex-css

LaTeX.css is a CSS library that makes your website look like a LaTeX document
https://latex.vercel.app
MIT License
2.74k stars 125 forks source link

Improve multi-paragraph HTML semantics for math environments #56

Closed vihuna closed 11 months ago

vihuna commented 1 year ago

If you want to split into several paragraphs the text inside math environments, the first paragraph must go without the p HTML tag, so that the first line of the paragraph is displayed next to the environment title name. But that leads to a loss in the document HTML semantics, on the other side.

With mathenv-opening-par CSS class added, all affected paragraphs inside math environments must be entered with p tags.

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
latex-css ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Feb 2, 2023 at 3:34PM (UTC)
vincentdoerig commented 11 months ago

Thank you for the suggestion. However, I believe this class might introduce unnecessary confusion due to its very specific application.