From: John MacFarlane <fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: Complete sample writer using 3.0 syntax
Date: Tue, 23 May 2023 18:01:35 -0700 [thread overview]
Message-ID: <EB4E4875-E1E0-48F7-9379-20FEF966E944@gmail.com> (raw)
In-Reply-To: <036dd5f8-667a-2b2f-9eaa-76c29718cd55-FcZObrvlYduBUy7/sJONFg@public.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 1824 bytes --]
Here’s a pretty complete example:
https://github.com/jgm/djot.lua/blob/main/djot-writer.lua <https://github.com/jgm/djot.lua/blob/main/djot-writer.lua>
This is a pretty full-featured one, even using doclayout for indentation and wrapping.
> On May 23, 2023, at 5:22 PM, H <agents-FcZObrvlYduBUy7/sJONFg@public.gmane.org> wrote:
>
> As a newcomer to pandoc I could greatly benefit from a /complete/ sample custom writer using the 3.0 syntax as I am muddling my way through learning it.
>
> Googling finds a lot of code fragments using the old AST syntax which is now deprecated. The github repository referenced on the pandoc website has a lot of old syntax code but no code using the new syntax. Further, the github page has a warning that the site should no longer be used.
>
> Where can I find a complete lua writer using the new syntax? Does not need to be a sophisticated writer, perhaps just making some customization of HTML output as such just to get the feet wet.
>
> --
> 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/036dd5f8-667a-2b2f-9eaa-76c29718cd55%40meddatainc.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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/EB4E4875-E1E0-48F7-9379-20FEF966E944%40gmail.com.
[-- Attachment #2: Type: text/html, Size: 3010 bytes --]
next prev parent reply other threads:[~2023-05-24 1:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-24 0:22 H
[not found] ` <036dd5f8-667a-2b2f-9eaa-76c29718cd55-FcZObrvlYduBUy7/sJONFg@public.gmane.org>
2023-05-24 1:01 ` John MacFarlane [this message]
[not found] ` <EB4E4875-E1E0-48F7-9379-20FEF966E944-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2023-05-24 16:31 ` H
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=EB4E4875-E1E0-48F7-9379-20FEF966E944@gmail.com \
--to=fiddlosopher-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).