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

建议:添加配置选项设置单个回车是换行 #84

Open
lework opened this issue Nov 18, 2019 · 0 comments
Open

建议:添加配置选项设置单个回车是换行 #84

lework opened this issue Nov 18, 2019 · 0 comments

Comments

@lework
Copy link

lework commented Nov 18, 2019

类似 chjj/marked ,有配置选项设置单个回车是换行,breaks 设置为true即可,marked(html, {breaks: true}); 就可以根据\n来实现换行

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants