Oh, just that it does not seem to work ATM.

 

The example from the readme:

 

```

:::lol2table

*   -   foo

    -   bar

    -   baz

*   -   +   tic

        +   pic

    -   +   tac

        +   pac

:::

```

 

gives me:

 

```

::: lol2table

-   -   foo

    -   bar

    -   baz

 

-   -   -   tic

        -   pic

 

    -   -   tac

        -   pac

:::

```

 

Is there something I’m missing?

 

Denis

 

 

Von: Maier, Denis Christian (UB)
Gesendet: Mittwoch, 1. Dezember 2021 09:35
An: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Cc: John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
Betreff: AW: AW: Raw blocks and markdown content

 

Benct, Thanks for pointing me towards your filter. That seems to be exactly what I need.

 

Denis

 

Von: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> Im Auftrag von BPJ
Gesendet: Mittwoch, 1. Dezember 2021 09:24
An: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Cc: John MacFarlane <jgm@berkeley.edu>
Betreff: Re: AW: Raw blocks and markdown content

 

 

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@googlegroups.com
> 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-/JYPxA39Uh5TLH3MbocFFw@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-/JYPxA39Uh5TLH3MbocFFw@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-/JYPxA39Uh5TLH3MbocFFw@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.

--
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/ab701e3eeed949e5b5db3e473e419b39%40unibe.ch.