public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
To: denis.maier-NSENcxR/0n0@public.gmane.org,
	pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: AW: Lineblocks in Jats writer
Date: Mon, 13 Dec 2021 09:39:42 -0800	[thread overview]
Message-ID: <m2czm09zfl.fsf@Johns-Air.hsd1.ca.comcast.net> (raw)
In-Reply-To: <07859a49dfab413d81a40faa0818d40b-NSENcxR/0n0@public.gmane.org>


> {.verse}
> | This is 
> | my first
> | poem

This syntax would work with `-f commonmark+attributes` if we
had line block support in commonmark, but we don't.

You can of course do something like

::: {.verse}
| This
| is it
:::

which will create a Div containing the line block.

So, we could modify the JATS writer to take a Div with class
"verse" and produce a verse element.   I don't know if that's
too ad hoc.


  parent reply	other threads:[~2021-12-13 17:39 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-13 10:57 denis.maier-NSENcxR/0n0
     [not found] ` <28d7db8315224f719f5b4378afab270c-NSENcxR/0n0@public.gmane.org>
2021-12-13 12:55   ` Albert Krewinkel
     [not found]     ` <87k0g88y05.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
2021-12-13 13:08       ` AW: " denis.maier-NSENcxR/0n0
     [not found]         ` <07859a49dfab413d81a40faa0818d40b-NSENcxR/0n0@public.gmane.org>
2021-12-13 17:39           ` John MacFarlane [this message]
     [not found]             ` <m2czm09zfl.fsf-d8241O7hbXoP5tpWdHSM3tPlBySK3R6THiGdP5j34PU@public.gmane.org>
2021-12-14 10:56               ` AW: " denis.maier-NSENcxR/0n0
     [not found]                 ` <0efb04f31c3a4d659a30cca620530eb6-NSENcxR/0n0@public.gmane.org>
2021-12-14 14:58                   ` Albert Krewinkel
     [not found]                     ` <87czlznsgg.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
2021-12-15 14:16                       ` AW: " denis.maier-NSENcxR/0n0
     [not found]                         ` <e412473bac1948a09884941aed6c4fdf-NSENcxR/0n0@public.gmane.org>
2022-01-13 11:10                           ` denis.maier-NSENcxR/0n0

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=m2czm09zfl.fsf@Johns-Air.hsd1.ca.comcast.net \
    --to=jgm-tvlzxgkolnx2fbvcvol8/a@public.gmane.org \
    --cc=denis.maier-NSENcxR/0n0@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).