Hi,
We have a need to convert docx to gfm.
Since docx has some user defined styles we use this "+styles" extension:

pandoc --to=gfm -f docx+styles --output=rtb.md --extract-media=. --wrap=none 'rtb.docx'


So now we have html div that wraps our content.  Let's say I want to transform this:

<div custom-style="Internal Heading">

Scope

</div>

Into:

## Scope

How can it be done? I tried to setup a Lua filter but not having success to have it output "##" along with the div content.


--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/3909f520-e8db-4cf9-900d-6a5a858c1a18n%40googlegroups.com.