We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
如果一种行为存在多种方式可以采用,那么用选项卡的方式可能会更好,例如:
参考:https://v2.docusaurus.io/docs/markdown-features/#tabs
需要注意的是,它的选项卡是全局同步的,例如我点击了图上所述的 yarn,那么在所有文档中存在此 ID 的 Tabs 都会自动切换过去。
The text was updated successfully, but these errors were encountered:
代码显示的时候 使用了Tabs。本地试了一下可以拿过来用。
至于全局同步,我觉得不一定要做成这种。
使用了 Tabs 后,如果要想显示高亮的代码,需要使用 SourceCode ,但感觉这个是不是 对 换行的 不太支持。
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Description
如果一种行为存在多种方式可以采用,那么用选项卡的方式可能会更好,例如:
Solution
参考:https://v2.docusaurus.io/docs/markdown-features/#tabs
需要注意的是,它的选项卡是全局同步的,例如我点击了图上所述的 yarn,那么在所有文档中存在此 ID 的 Tabs 都会自动切换过去。
The text was updated successfully, but these errors were encountered: