-
-
Notifications
You must be signed in to change notification settings - Fork 148
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
Bookmarks are not working #174
Comments
use import slug from 'remark-slug'
<MDEditor
value={value}
onChange={setValue}
previewOptions={{
remarkPlugins: [slug]
}}
/> |
Thank you so much for the help, much appreciated, this now works on Editor Preview, however I would like to have this plugin for |
import slug from 'remark-slug'
<MDEditor.Markdown
previewOptions={{
remarkPlugins: [slug]
}}
/> |
This doesn't seems to be working, there are no id's for headers when rendered in |
import slug from 'remark-slug'
<MDEditor.Markdown
remarkPlugins={[slug]}
/> |
This works 👍 Thank you |
Headers doesn’t seems to be generating id when rendering as HTML hence the bookmarks are not working, is there any workaround for bookmarks to work?
[@uiw/react-md-editor": "3.0.8"]
The text was updated successfully, but these errors were encountered: