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

Option to disable anchor in title block #22

Open
ManUtopiK opened this issue Oct 18, 2021 · 2 comments · May be fixed by #24
Open

Option to disable anchor in title block #22

ManUtopiK opened this issue Oct 18, 2021 · 2 comments · May be fixed by #24

Comments

@ManUtopiK
Copy link

Hi! Thanks for this library. It's really super fast!

I've some issues when I send the html output to a wysiwyg editor caused by the anchor link added in each title.
Let's say there is a title:
# h1
The output is:
<h1><a id="h1" class="anchor" aria-hidden="true" href="#h1"></a>h1</h1>

It's a good idea to add an anchor, but that doesn't play well with some wysiwyg editor like prosemiror.
Currently, I manually remove this anchor, but it would be nice to have an option to disable this feature.

@lwq057
Copy link

lwq057 commented Mar 20, 2022

yes, i hope too

I hope it can be solved

@ph1p ph1p linked a pull request Nov 22, 2022 that will close this issue
@monochromer
Copy link

monochromer commented Dec 28, 2023

+ 1 for this feature. I would like to use custom post processing for adding anchors

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 a pull request may close this issue.

3 participants