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

上标下标支持 #4

Open
Snownee opened this issue Feb 18, 2018 · 4 comments
Open

上标下标支持 #4

Snownee opened this issue Feb 18, 2018 · 4 comments
Labels
enhancement New feature or request

Comments

@Snownee
Copy link

Snownee commented Feb 18, 2018

Markdown:

x<sup>2</sup> x<sub>2</sub>

转换后的BBCode:

x[sup]2[/sup] x[sub]2[/sub]

效果:
x2 x2

@langyo
Copy link

langyo commented Mar 9, 2018

或许有更简便的方式?最好别在md文档里出现html标签

@Snownee
Copy link
Author

Snownee commented Mar 9, 2018

XML标签

这是 GitHub Markdown 的规范,不然我也没法输入出来

@ustc-zzzz
Copy link
Owner

刚刚翻了翻GFM,没有找到与sup和sub有关的规范,所以这个应该还是属于HTML标签的。

@simon300000
Copy link

或者用Typora的上下标?

x^2^

x~2~

@ustc-zzzz ustc-zzzz added the enhancement New feature or request label May 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants