*Sigh* I don't know why formatting error appear (blank lines, new lines at wrong places) when I use google groups "code syntax" from the UI... and of course can't edit my dang post... So here's in raw form : ``` local looking_at_section = false local lvl = 0 local remove = {} -- delete line if 'remove' array not needed function Block (elem) if elem.t == "Header" then -- if elem.classes:includes('remove',1) then if elem.identifier == 'remove' then looking_at_section = true lvl = elem.level else looking_at_section = looking_at_section and elem.level > lvl end end if looking_at_section then remove[#remove + 1] = elem -- delete line if 'remove' array not needed return {} end end ``` -- 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/e3c5e5cf-8f2b-481f-afcd-de08d1a653b4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.