public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
To: Axel Rauschmayer
	<rauschma-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	pandoc-discuss
	<pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Re: Singleton block construct with attributes?
Date: Wed, 25 Aug 2021 13:29:47 -0700	[thread overview]
Message-ID: <yh480klf4pi7yc.fsf@johnmacfarlane.net> (raw)
In-Reply-To: <b77d6ced-e951-4fec-8bb3-5ad8ed1c76a4n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>


Attributes on block-level items
have to go on the line before.

{.pause}
* * * *



Axel Rauschmayer <rauschma-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

> Ahem, I thought wrong: Pandoc actually treats horizontal rules as text if 
> there are attributes in the same line.
>
> On Wednesday, August 25, 2021 at 9:08:13 PM UTC+2 Axel Rauschmayer wrote:
>
>>
>> Thanks for all the suggestions!
>>
>> With the right settings, some horizontal rule syntaxes do indeed work:
>>
>> % echo '___{.pause}' | pandoc --from=commonmark+attributes
>> <p><span class="pause">___</span></p>
>> % echo '***{.pause}' | pandoc --from=commonmark+attributes
>> <p><span class="pause">***</span></p>
>> % echo '---{.pause}' | pandoc --from=commonmark+attributes
>> <p>--<span class="pause">-</span></p>
>>
>
> -- 
> 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/b77d6ced-e951-4fec-8bb3-5ad8ed1c76a4n%40googlegroups.com.


      parent reply	other threads:[~2021-08-25 20:29 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
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 [this message]

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=yh480klf4pi7yc.fsf@johnmacfarlane.net \
    --to=jgm-tvlzxgkolnx2fbvcvol8/a@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    --cc=rauschma-Re5JQEeQqe8AvxtiuMwx3w@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).