-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Open
Labels
Description
Info
The problem occurs when exporting from Markdown to .odt text file.
NB: This does not happen when exporting from Markdown to .docx.
Pandoc version: 3.8.3
Description
When using divs to set a custom-style for a paragraph, in the odt document the following paragraph is automatically styled in the 'First Paragraph' style, even though it should be styled as 'Body Text', since it's actually not the first paragraph in the text.
The following is an example of what the markdown would look like:
This is a paragraph in Markdown (1st)
:::{custom-style = "My Custom Style"}
This is a paragraph in Markdown (2nd)
:::
This is a paragraph in Markdown (3rd)
This is a paragraph in Markdown (4th)
In the former example the (3rd) paragraph is styled as 'First Paragraph' in the odt file (even though it should be defaulted to body text), while the (4th) paragraph is styled as 'Body Text', as it should.
Reactions are currently unavailable