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

Add separate wrapper for #'s in headers #4

Open
dcoales opened this issue Jul 21, 2021 · 1 comment
Open

Add separate wrapper for #'s in headers #4

dcoales opened this issue Jul 21, 2021 · 1 comment

Comments

@dcoales
Copy link
Contributor

dcoales commented Jul 21, 2021

Thanks very much for wrapping headers in bullets so that I can style them. So that I can style it to look nicer in edit mode would it be possible to split the #'s from the text like the standard renderer does ? The #'s are usually wrapped in "cm-formatting", "cm-formatting-header" and "cm-formatting-header-n" classes and the text in the "cm-header" and "cm-header-n". That way I can style the cm-formatting-header class to hide the #'s in edit mode until you click on the line.

@dcoales
Copy link
Contributor Author

dcoales commented Jul 25, 2021

I've made an attempt at adding this functionality and submitted a pull request. I appear to have checked in package-lock.json. I don't know if that's a problem - I'm a complete noob at this, sorry.

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

1 participant