yzane / vscode-markdown-pdf

Markdown converter for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=yzane.markdown-pdf
Other
1.01k stars 206 forks source link

The new keywords from metadata to be added to the header/footer template. #367

Open macchaka opened 6 months ago

macchaka commented 6 months ago

Metadata(yaml header) is ignored. It is not displayed. It is mean that vscode-markdown-pdf can aware that it is metadata.

one step futher, I hope be able to use at header, footer and pdf properties.

e.g.

---
title: Some title
version: 5
---

%%title%% will replaced to Some title. %%ISO-DATE%%(ver.%%version%%) will replaced to 2024-05-11(ver.5).

I hope that When enclosed in %%, it lookup to metadata definition.

reddishz commented 4 months ago

已提交pull request。 #376