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

chore: wrap embed stylesheet code in `<pre>` #40

Closed KnowsCount closed 1 year ago

KnowsCount commented 3 years ago

The pull request name is pretty self-descriptive... but here's the story:

I was using this repo the other day and I missed your embed code for style.css but instead embedded prism.css as it is wrapped in <pre> and therefore stands out more (you can see this scene in this video).

so... committed a minor change to make the embed code also stands out more.

I mean, after all,

this

stands out way more than this.

vercel[bot] commented 3 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/vincentdoerig/latex-css/HWKQrunjJwVP2U3Z7WFtF53n8zir
✅ Preview: https://latex-css-git-fork-knowscount-master-vincentdoerig.vercel.app

vincentdoerig commented 1 year ago

While it is more legible, it breaks the flow of the text which I think should be prioritised here.