Git Product home page Git Product logo

Comments (5)

tuojia avatar tuojia commented on July 20, 2024

附件图片
我用的是“Single”主题,使用本插件,开启“接管前台 Markdown 解析”后,右侧的目录树就不再显示了。
我查看主题的 Js 文件,发现是查找 “.post-content” 下面 id 为 “title-数字" 的 h2-h6 标签的。原主题直接调用框架的 id 是没有问题的。
而开启接管后,这些标题的 id 全变了,导致主题找不到对应的 id 名,于是就不显示了……

我需要用到这个插件来编写及显示 LaTeX 公式,同时也想用 Single 主题的目录树(毕竟比 TOC 的好看多了),所以想问问有没有办法修改一下,使得这个插件独立不改变 h2-h6 这些的 id 名。如果有,麻烦告知一下,也不必修改到这个项目来。谢谢了~~

from editormd.

DT27 avatar DT27 commented on July 20, 2024

@tuojia 试试把主题js文件放到最后加载。
Markdown是在js里解析的,主题js执行时文章内容还没生成。

from editormd.

YIOIY avatar YIOIY commented on July 20, 2024

文章摘要会显示markdown代码,参考网站 www.ezrealc.tech

这个链接打不开

from editormd.

EzrealC avatar EzrealC commented on July 20, 2024

不好意思,这都过了一年多了,后面实在没法多方面考虑后换了其他系统,现在网站是下线等待完善的状态。忘了close了

from editormd.

DT27 avatar DT27 commented on July 20, 2024

文章摘要改为系统自带解析了。

from editormd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.