Change the border color of a code block depending on the language
As of this post's writing, there is a visual bug on desktop that causes a code block's border color to glow orange if you click it while said code block is spoiler-tagged. That got me thinking, "wouldn't it be cool if code blocks changed their border color depending on the language they use"? For example, if you set the language to `fix`, the resulting border would be orange.
Here's a mockup image I made to demonstrate what I mean:
16
-
At-a-glance usage would really benefit from this! 0
댓글을 남기려면 로그인하세요.
댓글
댓글 1개