next-theme / hexo-theme-next

🎉 Elegant and powerful theme for Hexo.
https://theme-next.js.org
Other
2.41k stars 426 forks source link

如何使用==对文字进行黄色高亮 #466

Closed a171232886 closed 2 years ago

a171232886 commented 2 years ago

在很多地方像CSDN,Typora,VSCode,会将==markdown==编译成markdown的黄色高亮。而NexT似乎没有这个功能(我用的是v8.10),希望能考虑一下这个需求!

Issue Checklist


welcome[bot] commented 2 years ago

Thanks for opening this issue, maintainers will get back to you as soon as possible!

github-actions[bot] commented 2 years ago

This will not be worked on but we appreciate your contribution.

ljcbaby commented 2 years ago

这不是 Markdown 的标准语法。另外关于语法问题请找hexo-renderer-*.

stevenjoezhang commented 2 years ago

NexT 其实已经做了 CSS 上的适配,但 Hexo 有许多 markdown 渲染插件,我们比较难统一支持 具体来讲,你需要让 markdown 渲染插件将 == markdown == 渲染成 <mark>markdown</mark>

github-actions[bot] commented 2 years ago

:wave: Hey there! we use the issue tracker exclusively for bug reports and feature requests. However, this issue appears to be a support request. Please use our support channels to get help with the project.

a171232886 commented 2 years ago

NexT 其实已经做了 CSS 上的适配,但 Hexo 有许多 markdown 渲染插件,我们比较难统一支持 具体来讲,你需要让 markdown 渲染插件将 == markdown == 渲染成 <mark>markdown</mark>

hexo-renderer-markdown-it-plus中集成的markdown-it-mark插件,似乎可以自动将 == markdown == 渲染成 <mark>markdown</mark>。但为了不换renderer省点事,我还是直接用markdown吧:smiley:

github-actions[bot] commented 1 year ago

This thread has been automatically locked since there has not been any recent activity after it was closed. It is possible issue was solved or at least outdated. Feel free to open new for related bugs.