ChrisChinchilla / vscode-pandoc

Visual Studio Code extension lets you render markdown to pdf, word doc or html with pandoc
MIT License
26 stars 13 forks source link

Multiple choice after selecting pdf #18

Open sssimonyang opened 2 years ago

sssimonyang commented 2 years ago

Hi, well enhancement for previous vscode-pandoc.

I am chinese and I am always switching between english and chinese markdown. In my current setting, I use one yaml to specify the setting and check it before rendering pdf.

I am wondering if the extension can sepcify multiple custom choice in pdf to use.

For example, in rendering step, I select pdf and it will use pdfSetting, and then the pdfSetting is a dict with default, english, chinese, et al, each mapping to string. Then I select english, the string specified by english in pdf will be used. It will be a great enhancement for multiple language users like me.

This idea can also be applied in the first level, then the user just specify the suffix and the corresponding setting, avoiding waiting the supporter to adding suffix.