mProjectsCode / obsidian-shiki-plugin

MIT License
43 stars 6 forks source link

After enabling the plug-in, PDF export will output will output Front Matter. #12

Open bcdax110 opened 5 months ago

bcdax110 commented 5 months ago

Describe the bug After enabling the plug-in, PDF export will output will output Front Matter.

To Reproduce Steps to reproduce the behavior:

  1. Install and enable this plugin.
  2. Open the file containing Front Matter.
  3. excute command "Export to PDF..."

Expected behavior As before enabling the plugin, there will be no output of the Front Matter yaml

Screenshots md file: Clip_2024-05-15_22-00-14 PDF file (Not Enable this plugin): Clip_2024-05-15_22-00-44 PDF file (Enable this plugin): Clip_2024-05-15_22-01-23

Occurs on

Plugin version 0.3.2

Additional context Newly created Obsidian Vault with only this plugin enabled.

FeralFlora commented 3 days ago

Thanks for creating this issue, I had the same problem and couldn't figure out why this was occurring.

The YAML is output with the same styling as applied to codeblocks: image