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

支持上标下标语法 #534

Closed
zhy91 opened this issue Nov 19, 2020 · 3 comments
Closed

支持上标下标语法 #534

zhy91 opened this issue Nov 19, 2020 · 3 comments
Assignees
Labels
Milestone

Comments

@zhy91
Copy link

zhy91 commented Nov 19, 2020

Typora中支持~下标~^上标^这样的语法,感觉非常方便,否则需要插入公式或者采用html语法。

我看到目前前者~下标~用在删除线上了,但是同时也存在~~删除线~~这样的语法规则,是否有些重复?

非常感谢!

@88250
Copy link
Member

88250 commented Nov 19, 2020

你好,~foo~~~foo~~ 这俩都是删除线,是 GFM 规范定义的。

@zhy91
Copy link
Author

zhy91 commented Nov 19, 2020

你好,~foo~~~foo~~ 这俩都是删除线,是 GFM 规范定义的。

谢谢回复!

Typora是将这些非规范的语法作为设置中的可选项,可以自己选择是否使用。

实际上我有很多用到这些语法规则的文档,导入到思源笔记后一些格式有些混乱,所以提出这个建议。

@88250
Copy link
Member

88250 commented Nov 19, 2020

收到,后续我们参考 Typora 的设置试下加入上下标语法。

@88250 88250 added the Feature label Nov 19, 2020
@88250 88250 changed the title 增加上下标的语法 支持上下标的语法 Nov 19, 2020
@88250 88250 changed the title 支持上下标的语法 支持上标下标语法 Nov 19, 2020
@88250 88250 added this to the 0.5.1 milestone Nov 27, 2020
88250 added a commit to siyuan-note/user-guide-zh_CN that referenced this issue Nov 29, 2020
Vanessa219 added a commit to siyuan-note/appearance that referenced this issue Dec 1, 2020
88250 added a commit to 88250/lute that referenced this issue Dec 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants