That worked perfectly -- thanks! On Saturday, February 9, 2019 at 4:40:19 PM UTC-5, Albert Krewinkel wrote: > > Colin McLear writes: > > > I would like to be able to put an id like {#ignore} next to any section > > title of arbitrary depth (i.e. h1, h2, etc) and have a lua filter that > just > > removes that section for any output. I have a filter that accomplishes > this > > for particular headings but for some reason (well, probably because I > know > > very little lua) I can't make this work for heading and content. Any > ideas > > are appreciated! > > Maybe take a look at the abstract-to-meta filter in > . It does something quite > similar, in that it looks for a specific header and removes it > together with all its content from the document body. Only few > changes should be necessary to make it suitable for your > use-case. > -- 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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/1003e3ab-3a06-4249-b02c-93295a2886ce%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.