public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
To: William Lupton
	<wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org>,
	pandoc-discuss
	<pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Re: Singleton block construct with attributes?
Date: Wed, 25 Aug 2021 09:14:26 -0700	[thread overview]
Message-ID: <m2ilzth57h.fsf@MacBook-Pro-2.hsd1.ca.comcast.net> (raw)
In-Reply-To: <CAEe_xxj-V3A-p31hUvuxy9WhJF_51-Lot_0R3zpnQGzHa-KuCg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>


`attributes` is only supported for commonmark + variants,
including gfm and commonmark_x.

William Lupton <wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org> writes:

> I thought "Aha! But what about
> https://pandoc.org/MANUAL.html#extension-attributes?". However:
>
> % echo '---{.pause}' | pandoc --from=markdown+attributes
> The extension attributes is not supported for markdown
>
> https://pandoc.org/MANUAL.html#non-default-extensions seems to imply that
> these (including 'attributes') are all markdown extensions. What am I
> missing?
>
> On Wed, 25 Aug 2021 at 09:23, Axel Rauschmayer <rauschma-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
>> 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
>> <https://groups.google.com/d/msgid/pandoc-discuss/066d8f5e-ede0-4705-9f38-4add41cb7ff1n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
> -- 
> 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/CAEe_xxj-V3A-p31hUvuxy9WhJF_51-Lot_0R3zpnQGzHa-KuCg%40mail.gmail.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/m2ilzth57h.fsf%40MacBook-Pro-2.hsd1.ca.comcast.net.


  parent reply	other threads:[~2021-08-25 16:14 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-25  8:23 Axel Rauschmayer
     [not found] ` <066d8f5e-ede0-4705-9f38-4add41cb7ff1n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2021-08-25  9:41   ` William Lupton
     [not found]     ` <CAEe_xxj-V3A-p31hUvuxy9WhJF_51-Lot_0R3zpnQGzHa-KuCg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2021-08-25 15:20       ` Gwern Branwen
2021-08-25 16:14       ` John MacFarlane [this message]
2021-08-25 16:33   ` BPJ
     [not found]     ` <CADAJKhCHPhqJz_8b8EikbNoh_Ytyn5iPefS3cvkQA=tjD94nMw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2021-08-25 16:37       ` BPJ
2021-08-25 19:08   ` Axel Rauschmayer
     [not found]     ` <60bb4763-544c-4a15-b09c-d545aa60dcb1n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2021-08-25 19:55       ` Axel Rauschmayer
     [not found]         ` <b77d6ced-e951-4fec-8bb3-5ad8ed1c76a4n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2021-08-25 20:29           ` John MacFarlane

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2ilzth57h.fsf@MacBook-Pro-2.hsd1.ca.comcast.net \
    --to=jgm-tvlzxgkolnx2fbvcvol8/a@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    --cc=wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).