Templater icon indicating copy to clipboard operation
Templater copied to clipboard

Support Templater Dynamic Commands in Pandoc Export

Open o-3000 opened this issue 2 years ago • 1 comments

Plugin informations (please complete the following information):

  • OS: [e.g. Windows 10]
  • Templater version: 1.9.9
  • Obsidian version: 0.13.8

Describe the bug I ran into many issues trying to get pandoc to pre-process the Templater generated output that's visible in preview mode of a pane. The preview mode is where I also tried to execute the command palette to generate Docx etc using pandoc. The Export to PDF option works fine with Templater properly executed fully but Pandoc seems to ignore it.

Expected behavior The pandoc output methods should work to process exactly what the Preview mode shows for executed Templater commands and frontmatter content too from the current note.

Additional context The Export to PDF option works fine with Templater properly executed fully but Pandoc seems to ignore it.

I also tried building custom pandoc command but since Templater is only in Obsidian it's a severe limitation and one that might be better if Templater fixed or maybe the pandoc plugin authors will need to do but if you can suggest a work around like generate markdown compiled and use that to do Export to docx?

Is there a manual work around, script command or some other script method to work around this limitation that Pandoc ignores Templater?

Or is this a change that may require new update?

o-3000 avatar Dec 16 '21 18:12 o-3000

Any updates you can share on this issue @SilentVoid13 ? Thanks!

o-3000 avatar Feb 15 '22 17:02 o-3000