Why when converting this MarkDown code:
This is **bold text**, this is regular text. This is **bold text** again.
I'm getting this OpenDocument code:
<text:p text:style-name="Text_20_body">
This is
<text:span text:style-name="T1">
bold
</text:span>
<text:span text:style-name="T2">
</text:span>
<text:span text:style-name="T3">
text
</text:span>
, this is regular text. This is
<text:span text:style-name="T4">
bold
</text:span>
<text:span text:style-name="T5">
</text:span>
<text:span text:style-name="T6">
text
</text:span>
again.
</text:p>
This is the python code I'm using to convert it:
pandoc_args = []
pandoc_args.append("--reference-odt")
pandoc_args.append("style_reference_file.odt")
opendocument_code = pypandoc.convert(markdown_code, 'opendocument', format='markdown_github', extra_args=pandoc_args)
This is the result:
I understand that I have to define styles, that's not the problem, I'll control it in the future. But this is my question: why, for the same style, I get different style-names?
Thanks again!