Closed djacu closed 2 years ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Updated |
---|---|---|---|
zerm | ✅ Ready (Inspect) | Visit Preview | Jun 14, 2022 at 2:29AM (UTC) |
Great catch and fix, thank you so much for the PR
Code blocks with linenos enabled becomes tables. Originally, these code blocks would inherit their styling from the global
table
style. I added styling so that the nested table appears more like the original code block by inserting table styling inside thecode
andpre
styles to override the global table styles.A comparison can be seen below and is improved compared to #62.
I added a nominal
padding-right
to thetd:first-child
so the line numbers would have some buffer before the code. Feel free to make this line or any of it better as I am not very familiar with front end development.