public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: BPJ <bpj-J3H7GcXPSITLoDKTGw+V6w@public.gmane.org>
To: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Cc: John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
Subject: Re: AW: Raw blocks and markdown content
Date: Wed, 1 Dec 2021 09:24:08 +0100	[thread overview]
Message-ID: <CADAJKhBFdmASA8ddZ43P-AK7Zjg9k4OR=B0WxwoDd_BQm9-tVw@mail.gmail.com> (raw)
In-Reply-To: <a93b409adb504f45a9572ef49f8b02d7-NSENcxR/0n0@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 3657 bytes --]

Den tis 30 nov. 2021 23:55 <denis.maier-NSENcxR/0n0@public.gmane.org> skrev:

> > -----Ursprüngliche Nachricht-----
> > Von: John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
> > Gesendet: Dienstag, 30. November 2021 21:48
> > An: Maier, Denis Christian (UB) <denis.maier-NSENcxR/0n0@public.gmane.org>; pandoc-
> > discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> > Betreff: Re: AW: Raw blocks and markdown content
> >
> >
> > Note that this extension applies only to markdown input.
> > It affects HTML chunks embedded as part of a markdown document.  It
> > won't work with `-f html`.
> >
> > But perhaps your input document is markdown, and your target is JATS, and
> > you want a way to include markdown within JATS tags?
>
> Yes, this is what I've meant. My source is markdown, but I want to include
> tables as raw jats. (The tables are used to present parallel texts, greek
> and translation, and that's much easier using tags than with any of the
> current tables.)


You could use my table-as-list(-of-lists) filter which I have been using
exactly for this, as well as for interlinear glosses.

https://github.com/bpj/pandoc-list-table


>
> >
> > In this case you could use commonmark, which has a fairly generic way of
> > triggering this behavior (basically, you leave whitespace around the
> tags if
> > you want the contents to be interpreted as commonmark).
>
> That sounds like a good alternative.
> But are there any drawbacks? I mean compared to using pandoc's markdown?
>
> Best,
> Denis
>
> >
> > <denis.maier-NSENcxR/0n0@public.gmane.org> writes:
> >
> > > I mean the behaviour described here:
> > > https://pandoc.org/MANUAL.html#extension-markdown_in_html_blocks
> > >
> > >> -----Ursprüngliche Nachricht-----
> > >> Von: John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
> > >> Gesendet: Dienstag, 30. November 2021 18:11
> > >> An: Maier, Denis Christian (UB) <denis.maier-NSENcxR/0n0@public.gmane.org>; pandoc-
> > >> discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> > >> Betreff: Re: Raw blocks and markdown content
> > >>
> > >>
> > >>
> > >> > for HTML we already have an option to interpret material between
> > >> > tags as
> > >> markdown.
> > >>
> > >> I'm not sure what you mean by this?
> > >> Can you give an example?
> > >
> > > --
> > > 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/aa3cfa5bfa4341f3a2cb7166d9f8022d%40unibe.ch.
>
> --
> 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/a93b409adb504f45a9572ef49f8b02d7%40unibe.ch
> .
>

-- 
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/CADAJKhBFdmASA8ddZ43P-AK7Zjg9k4OR%3DB0WxwoDd_BQm9-tVw%40mail.gmail.com.

[-- Attachment #2: Type: text/html, Size: 6299 bytes --]

  parent reply	other threads:[~2021-12-01  8:24 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-30 10:12 denis.maier-NSENcxR/0n0
     [not found] ` <b60796009ed346c58e4dee856121dd56-NSENcxR/0n0@public.gmane.org>
2021-11-30 17:11   ` John MacFarlane
     [not found]     ` <m28rx5efgt.fsf-jF64zX8BO0+FqBokazbCQ6OPv3vYUT2dxr7GGTnW70NeoWH0uzbU5w@public.gmane.org>
2021-11-30 19:42       ` AW: " denis.maier-NSENcxR/0n0
     [not found]         ` <aa3cfa5bfa4341f3a2cb7166d9f8022d-NSENcxR/0n0@public.gmane.org>
2021-11-30 20:48           ` John MacFarlane
     [not found]             ` <yh480kr1ax74kl.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
2021-11-30 22:54               ` AW: " denis.maier-NSENcxR/0n0
     [not found]                 ` <a93b409adb504f45a9572ef49f8b02d7-NSENcxR/0n0@public.gmane.org>
2021-12-01  8:24                   ` BPJ [this message]
     [not found]                     ` <CADAJKhBFdmASA8ddZ43P-AK7Zjg9k4OR=B0WxwoDd_BQm9-tVw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2021-12-01  8:35                       ` denis.maier-NSENcxR/0n0
     [not found]                         ` <79b835afeacd4bc5af064514c4bf3090-NSENcxR/0n0@public.gmane.org>
2021-12-01  9:01                           ` denis.maier-NSENcxR/0n0
     [not found]                             ` <ab701e3eeed949e5b5db3e473e419b39-NSENcxR/0n0@public.gmane.org>
2021-12-01 13:17                               ` BPJ
     [not found]                                 ` <CADAJKhCogu-AC41KLb8fOWBHuCqFFNt2k5fYkC471eBqO2LjMA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2021-12-01 13:21                                   ` AW: " denis.maier-NSENcxR/0n0
     [not found]                                     ` <c6ab73ddcf634d07a9c88786c00cb263-NSENcxR/0n0@public.gmane.org>
2021-12-01 13:38                                       ` BPJ
     [not found]                                         ` <CADAJKhCAb-pH1ibe35AtkZkX844Ubz43CqCKf0jKBqB5sENL1g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2021-12-01 13:42                                           ` AW: " 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='CADAJKhBFdmASA8ddZ43P-AK7Zjg9k4OR=B0WxwoDd_BQm9-tVw@mail.gmail.com' \
    --to=bpj-j3h7gcxpsitlodktgw+v6w@public.gmane.org \
    --cc=jgm-TVLZxgkOlNX2fBVCVOL8/A@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).