githuber-md
githuber-md copied to clipboard
代码语法高亮效果有错误
1.环境描述
- 插件版本:1.16.0
- 系统环境:centos7
2.问题描述
启用highlight.js代码高亮功能,设置布景主题后,和插件提供的Demo预览效果不一致。
3.问题结果截图
-
插件提供的demo效果
-
实际效果
I had the same problem ,too...
你輸入了甚麼語法? 要用小寫 ```javascript 開頭 https://github.com/terrylinooo/githuber-md/blob/master/src/Modules/Highlight.php#L120
我是想讓python的語法在前台也能有syntax highlight.但是目前只能在後台預覽的時候有變色,前台無法?
jakeuj @.***> 於 2021年4月13日 週二 上午10:26寫道:
你輸入了甚麼語法? 要用小寫 ```javascript 開頭 #212 https://github.com/terrylinooo/githuber-md/issues/212
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/terrylinooo/githuber-md/issues/220#issuecomment-818384109, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFSCQEKH35CGOARO4UA5IC3TIOTUJANCNFSM4ZBOY75A .
我是使用```python 都小寫,對吧?這樣目前無法syntax highlight
David Su @.***> 於 2021年4月13日 週二 下午4:16寫道:
我是想讓python的語法在前台也能有syntax highlight.但是目前只能在後台預覽的時候有變色,前台無法?
jakeuj @.***> 於 2021年4月13日 週二 上午10:26寫道:
你輸入了甚麼語法? 要用小寫 ```javascript 開頭 #212 https://github.com/terrylinooo/githuber-md/issues/212
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/terrylinooo/githuber-md/issues/220#issuecomment-818384109, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFSCQEKH35CGOARO4UA5IC3TIOTUJANCNFSM4ZBOY75A .
这个方法也许可以解决你的问题http://cppdebug.com/archives/438
我是使用
python 都小寫,對吧?這樣目前無法syntax highlight David Su ***@***.***> 於 2021年4月13日 週二 下午4:16寫道: […](#) 我是想讓python的語法在前台也能有syntax highlight.但是目前只能在後台預覽的時候有變色,前台無法? jakeuj ***@***.***> 於 2021年4月13日 週二 上午10:26寫道: > 你輸入了甚麼語法? > 要用小寫
javascript 開頭 > #212 <#212> > > — > You are receiving this because you commented. > Reply to this email directly, view it on GitHub > <#220 (comment)>, > or unsubscribe > https://github.com/notifications/unsubscribe-auth/AFSCQEKH35CGOARO4UA5IC3TIOTUJANCNFSM4ZBOY75A > . >
前台你有引入 highlightjs ?
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 2 days.
This issue was closed because it has been inactive for 14 days since being marked as stale.