Skip to content
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

add custom format feature #33

Closed

Conversation

fredericbarrau
Copy link

Add a (limited) custom format feature, as required in #17

For the end user, this is trivially done by adding options in the extension's configuration :

For adding custom output formats, just add pandoc.<format>OptString keys in your settings, with the proper pandoc options:

// This will add an "epub" output format to vscode-pandoc
"pandoc.epubOptString": "-t epub"

This is not really flexible: for instance, it is not possible to have several formats for PDF (one with TOC, one with different font, etc). On the other hand, this allows to remain compatible with the previous versions of the extension.

I also added a few formats to the extension: mediawiki, odt, textile.

Fred

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant