Skip to content

Commit

Permalink
fix: py lang label doesn't display in code block (#690)
Browse files Browse the repository at this point in the history
meteorlxy authored and ulivz committed Aug 1, 2018

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent d9301fe commit 88b65cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/default-theme/styles/code.styl
Original file line number Diff line number Diff line change
@@ -95,7 +95,7 @@ div[class*="language-"]
background-color $codeBgColor


for lang in js ts html md vue css sass scss less stylus go java c sh yaml
for lang in js ts html md vue css sass scss less stylus go java c sh yaml py
div{'[class~="language-' + lang + '"]'}
&:before
content ('' + lang)

0 comments on commit 88b65cc

Please sign in to comment.