You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using pandoc 2.7.3 to produce some bookdown documents.
I know that custom styles and styles reference works normally in docx (at least for paragraphs).
But it does not work for OpenDocument.
I have the following simple Markdown document named styles.md. It use predefined style names from LibreOffice 6.2 and contains the following:
::: {custom-style="Title"}
This is some text.
:::
::: {custom-style="Caption"}
This is text with an [placeholder]{custom-style="Placeholder"} text style.
And this is text with a [teletype]{custom-style="Teletype"}
text style.
:::
::: {custom-style="Illustration"}
> Here is a styled paragraph that inherits from illustration style.
:::
I expect that the document should look as shown below:
But if I produce OpenDocument from my Markdown document it with pandoc styles.md --to odt+styles -o styles.odt. The styles are not applied:
The text was updated successfully, but these errors were encountered:
In anyway it would be very useful to have described functionality inside pandoc itself. This means without plugins and third-party tools. This will make pandoc even better. Having this functionality only for docx is unfairly.
I'm using pandoc 2.7.3 to produce some bookdown documents.
I know that custom styles and styles reference works normally in docx (at least for paragraphs).
But it does not work for OpenDocument.
I have the following simple Markdown document named styles.md. It use predefined style names from LibreOffice 6.2 and contains the following:
I expect that the document should look as shown below:
But if I produce OpenDocument from my Markdown document it with
pandoc styles.md --to odt+styles -o styles.odt
. The styles are not applied:The text was updated successfully, but these errors were encountered: