ChrisChinchilla / vscode-pandoc

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

Setting to always render on save #10

Open orschiro opened 3 years ago

orschiro commented 3 years ago

Hi guys,

Another nice feature:

Always render to default chosen format upon saving the current file.

Any thoughts on that? :)

ChrisChinchilla commented 3 years ago

Hmm, possibly, technically probably fairly easy, but requires a bit of thinking UI wise I think. Will ponder.

classabbyamp commented 3 years ago

+1, I'd love to see this.

It seems that there's an onDidSaveTextDocument event that gets called on save that could be hooked into.

ChrisChinchilla commented 3 years ago

@classabbyamp I need to rethink another extension I help maintain around similar approaches, so I will attempt to rearchitect both together 😅

capogreco commented 1 month ago

+1 for Render On Save

ChrisChinchilla commented 1 month ago

How do people imagine this working? The default render is per document, per workspace, both? I'll get on to this soon.