Comments (7)
@ezequias
>user setting
open youre user setting then find "markdown-pdf.type"
.
You can choose output format. such as "markdown-pdf.type": "html",
.
In HTML source , all h1~h6 tags miss ID attribute. So Markdown TOC can't work well here.
You can add id
into h1~h6 tags manually . or maybe @yzane can fix this issue.
from vscode-markdown-pdf.
Hello
I convert md to html file with Markdown PDF
then trace html code.
I see the tag <h1-6> doesn't has ID attribute. So Anchors can't work.
Could you keep the ID attribute of <h1-6>
tag ?
Thanks.
from vscode-markdown-pdf.
@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.
from vscode-markdown-pdf.
@dio833 nice tip. I like it! ;)
from vscode-markdown-pdf.
This is related to issue #6
from vscode-markdown-pdf.
As I see, using ID attributes is not enough to fix issue: phantomjs doesn't work well with internal links: ariya/phantomjs/issues/13959
from vscode-markdown-pdf.
I pre-released Markdown PDF ver1.0.0 which replaced pdf converter with puppeteer instead of html-pdf.
Please download from here and try.
from vscode-markdown-pdf.
Related Issues (20)
- Page numbers not showing up HOT 1
- High Fan Speed when attempt export to HTML or PDF - Unable to export from Markdown
- CSS float seems to be ignored HOT 1
- Layout Issues with div Tags in Markdown when Outputting to PDF
- Kate auto renderer for HTML exports needs update
- What am I missing? It doesn't convert math formula embedded at all. HOT 3
- Empty Page Number
- PDF output does not utilize CSS stylization.
- Enable GitHub Discussion.
- What is the installed location of Chromium, and how can it be deleted? HOT 1
- how to add a underline under the img of the page header HOT 1
- text-underline-offset is not valid
- PDF text selection and search is not working HOT 2
- Add support for markdown note format HOT 1
- Add support for Mermaid invisible links
- The new keywords from metadata to be added to the header/footer template.
- [demand]希望增加直接将一个文件夹中所有markdown文件导出为一个pdf的功能 HOT 1
- Blockquote render PDF
- References that skip invalid characters are not created as links
- Style sheet files specified by relative paths are not referenced as is
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-markdown-pdf.