-
-
Notifications
You must be signed in to change notification settings - Fork 203
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
TOC extension not working on Convert Markdown to PDF #31
Comments
Hello I convert md to html file with I see the tag <h1-6> doesn't has ID attribute. So Anchors can't work. Could you keep the ID attribute of Thanks. |
@dio833 I didn't understand you. How did you convert md to html with Markdown PDF? Is it another extension? All my attributes are from h1 to h6 but I confess it has some spaces on links generated. Would be nice if the extension only could create a hyperlink only about the first word of the markdown ID. |
@ezequias You can choose output format. such as In HTML source , all h1~h6 tags miss ID attribute. So Markdown TOC can't work well here. You can add |
@dio833 nice tip. I like it! ;) |
This is related to issue #6 |
As I see, using ID attributes is not enough to fix issue: phantomjs doesn't work well with internal links: ariya/phantomjs/issues/13959 |
I pre-released Markdown PDF ver1.0.0 which replaced pdf converter with puppeteer instead of html-pdf. |
I can't see links working on a generated pdf from markdown to pdf extension. TOC extension is working on default markdown preview on VSCode.
Steps to Reproduce:
If you have any plans to solve this reporting please tell me.
The text was updated successfully, but these errors were encountered: