public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: Christophe Demko <chdemko-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: pandoc-figure filter
Date: Wed, 26 Jul 2023 06:39:17 -0700 (PDT)	[thread overview]
Message-ID: <377aa04d-6832-4388-9e8e-6d6cde583e1fn@googlegroups.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 837 bytes --]

Hi,
I've developed a pandoc filter that transforms a div into a figure from 
markdown text. In particular, this allows you to use the new complex 
figures in pandoc>=3.0:

::: {.figure caption="Figure caption"}

![Tux junior 1 caption](Tux_junior-1.pdf "Tux Junior 1")

![Tux junior 2 caption](Tux_junior-2.pdf "Tux Junior 2")

![Tux junior 3 caption](Tux_junior-3.pdf "Tux Junior 3")

:::

produces the file as an attachment

-- 
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/377aa04d-6832-4388-9e8e-6d6cde583e1fn%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 1225 bytes --]

[-- Attachment #2: Tux_junior-1.pdf --]
[-- Type: image/png, Size: 18509 bytes --]

[-- Attachment #3: Tux_junior-3.pdf --]
[-- Type: image/png, Size: 18804 bytes --]

[-- Attachment #4: pandoc-figure.txt --]
[-- Type: text/plain, Size: 218 bytes --]

::: {.figure caption="Figure caption"}

![Tux junior 1 caption](Tux_junior-1.pdf "Tux Junior 1")

![Tux junior 2 caption](Tux_junior-2.pdf "Tux Junior 2")

![Tux junior 3 caption](Tux_junior-3.pdf "Tux Junior 3")

:::

[-- Attachment #5: Tux_junior-2.pdf --]
[-- Type: image/png, Size: 18660 bytes --]

[-- Attachment #6: pandoc-figure.pdf --]
[-- Type: application/pdf, Size: 98170 bytes --]

             reply	other threads:[~2023-07-26 13:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-26 13:39 Christophe Demko [this message]
     [not found] ` <377aa04d-6832-4388-9e8e-6d6cde583e1fn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2023-07-26 13:41   ` Christophe Demko

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=377aa04d-6832-4388-9e8e-6d6cde583e1fn@googlegroups.com \
    --to=chdemko-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).