You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Links within the page (e.g. https://example.com/#chapter2) don't scroll the page to the destination. It seems that name="" attribute is missing within the <a> tag.
It also breaks GitHub-compatible table of contents.
Paste the shortcode and the censored contents of config.json
Yeah, this is the fault of Github's weird Markdown rendering (this plugin gets the HTML from Github's /markdown endpoint).. There would probably be a solution one could do in the code, but I wouldn't dig into it.
Github does give you a link you can use, it's just not what you'd expect. Inspect one of your rendered headings:
Unfortunately, if you decide to host your markdown files on WP with this plugin, you'll have to edit your markdowns quite a bit (see also #15) and some of the edits will make it unusable with other markdown renderers. Or you'll rely more on raw HTML, which will work in all situations, but who really wants that;)
Versions
Wordpress: 5.7
Documents for Git: 1.1.1
Describe the bug
Links within the page (e.g.
https://example.com/#chapter2
) don't scroll the page to the destination. It seems thatname=""
attribute is missing within the<a>
tag.It also breaks GitHub-compatible table of contents.
Paste the shortcode and the censored contents of config.json
To Reproduce
Steps to reproduce the behavior:
The text was updated successfully, but these errors were encountered: