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

添加了一个在编辑器外渲染markdown的例子 #612

Merged
merged 2 commits into from
Dec 2, 2021
Merged

添加了一个在编辑器外渲染markdown的例子 #612

merged 2 commits into from
Dec 2, 2021

Conversation

icepear-jzx
Copy link
Contributor

编辑器外渲染出来的内容和预览的内容css样式不同,是由于编辑器中导入的css样式只作用于.markdown-body的后代,因此写了个简单的例子说明。#69 #399 都提到了类似的问题。

@so1ve
Copy link
Contributor

so1ve commented Aug 31, 2020

你需要引入highlight.js+github-markdown-css

@ygj6 ygj6 merged commit bf97a96 into hinesboy:master Dec 2, 2021
@ygj6
Copy link
Collaborator

ygj6 commented Dec 2, 2021

Thank you.

langren1353 pushed a commit to langren1353/mavonEditor that referenced this pull request Aug 1, 2022
Added an example about how to render markdown

(cherry picked from commit bf97a96)
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

Successfully merging this pull request may close these issues.

None yet

3 participants