Closed flameddd closed 1 year ago
Code syntax highlight style broken when without given language (screenshot in below).
Update style for without given language
without given language
padding
background
color
<pre />, <code /> style
Past following text into any Markdown file and review it
``` redis> zrange zset 0 -1 "b" "ba" "bar" "bar*" "f" "fo" "foo" "foo*" "foob" "fooba" "foobar" "foobar*" ```
``` redis> zrange zset 0 -1
Currently Firefox did NOT support :has() yet, but it's looks acceptable (for this small fix).
:has()
See Firefox screenshot in blow
Issue
Code syntax highlight style broken when without given language (screenshot in below).
Fix
Update style for
without given language
padding
,background
,color
are SAME with other existed<pre />, <code /> style
How to test
Past following text into any Markdown file and review it
Note
Currently Firefox did NOT support
:has()
yet, but it's looks acceptable (for this small fix).See Firefox screenshot in blow
Screenshot Before
Screenshot After, Brave
Screenshot After, Safari
Screenshot After, Firefox