> >>> > (including other div) and to exclude everything else in the document.
> >>> >
> >>> > If I use a filter like this:
> >>> >
> >>> > function Div(el)
> >>> > if el.classes[1] == "show" then
> >>> > return el
> >>> > else
> >>> > return {}
> >>> > end
> >>> > end
> >>> >
> >>> > The resulting Markdown will be:
> >>> >
> >>> > ::: {.show}
> >>> > This is the outer text.
> >>> > :::
> >>> >
> >>> > Which is kind of expected. So what can I do to include in the
> conversion
> >>> > not only
, but also all the other div inside it?
> >>> >
> >>> > The actual HTML files I want to convert are very large, so I can’t
> list
> >>> all
> >>> > the classes I want to include (or exclude from) in the conversion.
> >>> >
> >>> > Thanks in advance.
> >>> >
> >>> >
> >>> > --
> >>> > 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-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> >>> > To view this discussion on the web visit
> >>>
> https://groups.google.com/d/msgid/pandoc-discuss/ee79a1ca-efb1-463c-ace9-5398c8e623e3n%40googlegroups.com
> >>> .
> >>>
> >
> >
> > --
> > Albert Krewinkel
> > GPG: 8eed e3e2 e8c5 6f18 81fe e836 388d c0b2 1f63 1124
> >
> > --
> > 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-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> > To view this discussion on the web visit
> https://groups.google.com/d/msgid/pandoc-discuss/87lfgrk5sb.fsf%40zeitkraut.de
> .
>
--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/d8bdce6a-7632-4107-a700-0b228c9c3f74n%40googlegroups.com.