terrylinooo / githuber-md

Markdown editor plugin for WordPress.
GNU General Public License v3.0
616 stars 89 forks source link

使用prism.js或highlight.js无法代码高亮,也无法显示行号 #273

Closed 361way closed 1 year ago

361way commented 2 years ago

使用prism.js或highlight.js无法代码高亮,也无法显示行号 ,like this page 无法高亮页面

KeyboardMan1996 commented 2 years ago

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

dabinn commented 1 year ago

我也是沒法顯示行號 後來去抓新版Prim.js(1.29)取代githuber裏面的1.23版 https://github.com/PrismJS/prism/releases 似乎就都正常了 取代的路徑: wp-content\plugins\wp-githuber-md\assets\vendor\prism

github-actions[bot] commented 1 year ago

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] commented 1 year ago

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

21888 commented 1 year ago

我也是沒法顯示行號 後來去抓新版Prim.js(1.29)取代githuber裏面的1.23版 https://github.com/PrismJS/prism/releases 似乎就都正常了 取代的路徑: wp-content\plugins\wp-githuber-md\assets\vendor\prism

这个办法貌似可以