Open aminevsaziz opened 2 years ago
Thanks for the report, and sorry that I missed the notification. The reason is the org-to-org conversion in ox-pandoc, which is needed to support e.g. code blocks.
I'm aware of the issue with #+ATTR_HTML etc. but I haven't yet been able to work out exactly how such elements are parsed and represented by Org mode in order to preserve and pass them on to pandoc.
@a-fent I hope you are doing well. Just curious any progress on this issue? No update about it!
recently i discovered these issues with ox-pandoc/pandoc, where the org buffer need to be exported to temporary org file using pandoc and then convert it again using pandoc CLI! this behavior in fact lead to loss of style information. here an org example
running this org example using any ox-pandoc exporter in emac (e.g org-pandoc-export-to-markdown) will generate the following output:
Suprisingly, using Pandoc CLI (e.g pandoc -f org -t markdown test.org -o test.md) show the following results:
why cant we keep the the information regarding custom-style for example?