On Pandoc 2.6, I am converting from markdown to docx. I am trying to learn and use the custom styles for docx output and am getting some odd behavior. I am using the examples text straight from the Pandoc User Guide. I have only substituted the name of my custom style that is defined in my reference.docx.
Just placing the following in my markdown file results in no styled text:
[Get out]{custom-style="greyBackground"}, he said.
But placing this in my markdown file results in styled text:
::: {custom-style="greyBackground"}
| A Bird came down the Walk---
| He did not know I saw---
:::
And placing both of the following contiguously in my markdown file results in neither having the styled text:
[Get out]{custom-style="greyBackground"}, he said.
::: {custom-style="greyBackground"}
| A Bird came down the Walk---
| He did not know I saw---
:::
Am I doing something wrong with the bracketed span style? Not sure what it could be since I am copying nearly directly from the example in the user guide. Is this a bug, or is there some trick or consideration I am not getting?
Thanks.
Phil