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
参考链接是vitepress官方说明https://vitepress.dev/guide/markdown#line-highlighting-in-code-blocks 代码块中的行高亮功能
export default { data () { return { msg: 'Highlighted!' } } }
使用js{4}来高亮第4行代码
The text was updated successfully, but these errors were encountered:
@wskaudh
你好,感谢反馈。
首先,功能肯定是能做的。
但是现在有一个很尴尬的点,Typora 在解析 language 的时候,会自动过滤掉 {}。导致 js{2} 变成 js2
{}
js{2}
js2
所以这个需求可能需要改变高亮行的约定,比如 js{2} 改成 js(2) 之类的。
js(2)
Sorry, something went wrong.
你好,功能已经实现。麻烦升级到最新版本试用一下。
此 issue 关闭,如有问题麻烦在下面留言或另开 issue。
好的,非常感謝,我嘗試一下這個功能。
No branches or pull requests
参考链接是vitepress官方说明https://vitepress.dev/guide/markdown#line-highlighting-in-code-blocks
代码块中的行高亮功能
使用js{4}来高亮第4行代码
The text was updated successfully, but these errors were encountered: