githuber-md icon indicating copy to clipboard operation
githuber-md copied to clipboard

代码语法高亮效果有错误

Open xiaoguiliu opened this issue 3 years ago • 6 comments

1.环境描述

  • 插件版本:1.16.0
  • 系统环境:centos7

2.问题描述

启用highlight.js代码高亮功能,设置布景主题后,和插件提供的Demo预览效果不一致。

3.问题结果截图

  • 插件提供的demo效果 插件代码高亮效果

  • 实际效果

实际代码高亮效果

xiaoguiliu avatar Mar 12 '21 03:03 xiaoguiliu

I had the same problem ,too...

su81228 avatar Apr 12 '21 09:04 su81228

你輸入了甚麼語法? 要用小寫 ```javascript 開頭 https://github.com/terrylinooo/githuber-md/blob/master/src/Modules/Highlight.php#L120

jakeuj avatar Apr 13 '21 02:04 jakeuj

我是想讓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 .

su81228 avatar Apr 13 '21 08:04 su81228

我是使用```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 .

su81228 avatar Apr 13 '21 08:04 su81228

这个方法也许可以解决你的问题http://cppdebug.com/archives/438

KeyboardMan1996 avatar May 07 '22 14:05 KeyboardMan1996

我是使用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 ?

jakeuj avatar Aug 19 '22 06:08 jakeuj

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.

github-actions[bot] avatar Jun 13 '23 00:06 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Jun 16 '23 00:06 github-actions[bot]