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

如果获取到渲染后的HTML内容 #52

Closed
jae-jae opened this issue Oct 13, 2018 · 2 comments
Closed

如果获取到渲染后的HTML内容 #52

jae-jae opened this issue Oct 13, 2018 · 2 comments

Comments

@jae-jae
Copy link

jae-jae commented Oct 13, 2018

我知道HyperMD有个getValue()方法可以获取到Markdown内容,那请问如何获取到markdown渲染后的HTML内容呢?

@laobubu
Copy link
Owner

laobubu commented Oct 13, 2018

HyperMD 的输入、输出都是 Markdown 内容。

如果需要渲染后的内容,请使用其他的库,例如 marked 或者 markdown-it,将 Markdown 转换成 HTML。

@jae-jae
Copy link
Author

jae-jae commented Oct 14, 2018

谢谢,HyperMD是我目前用到的最好用的Markdown编辑器!

@jae-jae jae-jae closed this as completed Oct 14, 2018
ryooo pushed a commit to ryooo/HyperMD that referenced this issue Nov 20, 2020
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