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

an option to change the replacement #55

Open
its-dibo opened this issue Apr 1, 2022 · 1 comment
Open

an option to change the replacement #55

its-dibo opened this issue Apr 1, 2022 · 1 comment

Comments

@its-dibo
Copy link

its-dibo commented Apr 1, 2022

I want # heading to be converted to <h2> instead of <h1>. is there an option for that?

@cloverhearts
Copy link
Owner

cloverhearts commented Apr 26, 2022

No
currently you can replace to regex pattern only markdown tags.
and maybe your problem is this...
https://github.com/cloverhearts/quilljs-markdown/blob/master/src/tags/header/index.js#L29

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