When I need a marker like this I use a code span, like `--pause` ``````lua -- Look for a paragraph function Para (para) -- With only one child if 1 == #para.content then local child = para.content[1] -- Which is a code span if 'Code' == child.type then -- Ignore it if it has a class .code, i.e. `--pause` is a marker, but -- `--pause`{.code} is "actual" code. if child.classes:includes('code') then return nil end -- If it is the marker return some block content if '--pauae' == child.text then return whatever() end end end return nil end `````` Den ons 25 aug. 2021 10:24Axel Rauschmayer skrev: > For two filters of mine, I’d like to use a singleton block construct that > triggers them via a class. I was considering using a horizontal rule: > > ---{.pause} > > Alas, that doesn’t work. What is a good alternative? If there isn’t any, I > can use the following syntax, but I’d prefer something that fits into a > single line. > > ::: pause > ::: > > -- > 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/066d8f5e-ede0-4705-9f38-4add41cb7ff1n%40googlegroups.com > > . > -- 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/CADAJKhCHPhqJz_8b8EikbNoh_Ytyn5iPefS3cvkQA%3DtjD94nMw%40mail.gmail.com.