Closed atanasj closed 6 years ago
Hi Atanas, that is an easy fix. The problem is that the sample markdown uses a title block for metadata, but pandocomatic uses YAML metadata, and you can't use both easily. As Pandoc fully supports the content of title block n YAML, if you format your metadata like so:
---
title: Habits
author: Joanna Doe
date: March 22, 2005
pandocomatic:
use-template: pptx
---
Then the title slide is also produced via pandocomatic :-)
AWESOME!
So simple, thanks. Truly appreciate all your help @iandol.
Question/issues closed!
:-)
Hi,
Great scripting—this has really helped my workflow so much!
I am having trouble exporting a slideshow. I cannot seem to get the
pandoc_title_block
to appear as would be expected when trying to go via the workflow.I have used the template provided in the
pandoc
use manual (see the 'Producing slide shows with pandoc' section for the examplehabits.txt
file).Specifically, this appears at the top of the document:
The
cli
code provided in the manual is:This works as expected (see habitsOk.pptx). Now, I have added the following to the
pandocomatic.yaml
file:All other attributes print as normal, however the title block does not (see habitsNotOk.pptx). I'm not sure whether it is because when going through the workflow it is converting form
markdown
and nottxt
as per thepandoc
provided example, or something else completely different.Any ideas? Your help is greatly appreciated!
Cheers, Atanas