From: Albert Krewinkel <albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Cc: Lyndon Drake <isenguard-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Subject: Re: Markdown for a RTL text direction blockquote
Date: Sun, 24 Apr 2022 08:39:31 +0200 [thread overview]
Message-ID: <87ee1nnfku.fsf@zeitkraut.de> (raw)
In-Reply-To: <51cb4ac6-f391-4351-a895-d076bce6e6a9n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
CommonMark with extensions (`commonmark_x`) has the *attribute*
extension, which allows to add the attributes before the block like so:
Lyndon Drake <isenguard-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:
```
{dir=rtl}
> This is a blockquote paragraph.
```
Pandoc currently doesn't support attributes on blockquote elements, so
the above is currently just a shorthand for a wrapping div:
```
::: {dir=rtl}
> This is a blockquote paragraph.
:::
```
The latter also works with "normal" pandoc Markdown.
--
Albert Krewinkel
GPG: 8eed e3e2 e8c5 6f18 81fe e836 388d c0b2 1f63 1124
next prev parent reply other threads:[~2022-04-24 6:39 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-24 0:26 Lyndon Drake
[not found] ` <51cb4ac6-f391-4351-a895-d076bce6e6a9n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2022-04-24 6:39 ` Albert Krewinkel [this message]
[not found] ` <87ee1nnfku.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
2022-04-24 7:08 ` Lyndon Drake
[not found] ` <b1aca139-53a8-4f7d-b6af-394463693812n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2022-04-24 7:21 ` Lyndon Drake
2022-04-24 9:01 ` Albert Krewinkel
[not found] ` <87a6caonsc.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
2022-04-24 10:11 ` AW: " denis.maier-NSENcxR/0n0
[not found] ` <3eabd35901464701aee2dd5051e298d3-NSENcxR/0n0@public.gmane.org>
2022-04-24 19:33 ` John MacFarlane
[not found] ` <m2czh6s2cd.fsf-jF64zX8BO0+FqBokazbCQ6OPv3vYUT2dxr7GGTnW70NeoWH0uzbU5w@public.gmane.org>
2022-04-24 20:45 ` Albert Krewinkel
[not found] ` <87wnfemcgh.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
2022-04-25 3:56 ` Lyndon Drake
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=87ee1nnfku.fsf@zeitkraut.de \
--to=albert+pandoc-9eawchwdxg8hfhg+jk9f0w@public.gmane.org \
--cc=isenguard-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@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).