Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

請問, 有興趣添加一個 question 欄嗎 #5

Open
Karobben opened this issue Sep 20, 2022 · 1 comment
Open

請問, 有興趣添加一個 question 欄嗎 #5

Karobben opened this issue Sep 20, 2022 · 1 comment

Comments

@Karobben
Copy link

Markdown 插件裏 可以渲染 question 標籤, 要是這個插件也能, 就太好了

@pilgrimlyieu
Copy link

pilgrimlyieu commented Oct 3, 2023

你可以自行添加。index.js 里面的正则的匹配加入你想要的标签,例如 ...failure|missing|fail|error|question),然后自定义样式里加入相应标签,如 .question > .admonition-title .admonition.question .question > .admonition-title::before 等。即依葫芦画瓢照着写就好了。

有兴趣的话可以复制我的 fork 里面的配置,我加入了 question, success, danger, bug, example, quote, tip, abstract, test 等 admonition、深色模式的支持(适配 NexT.Gemini)及 markdown-it 插件。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants