public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: Jeffrey Zhang <zhang.lei.fly-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: how to know the BulletList context and indent properly when using custom lua write.
Date: Thu, 26 Dec 2019 17:24:55 +0800	[thread overview]
Message-ID: <CAATxhGer1TUTYEkrNQiDZV+-CpmNrdHsmXhj18RuepXNaUds9A@mail.gmail.com> (raw)
In-Reply-To: <87tv5oqush.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>

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

Cool, it works.
You are awesome , thanks a lots.
---
Regards,
Jeffrey Zhang
Blog: http://xcodest.me


On Thu, Dec 26, 2019 at 5:15 PM Albert Krewinkel <albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
wrote:

>
> Lei Zhang writes:
>
> > There is another minor issue. There is always extra blank line between
> the
> > nested list. Do you have any idea on how to remove it?
> >
> > ```markdown
> > 1. test0
> >     1. test1
> > ```
> >
> >
> > ```tiddlywiki
> > # test0
> >
> > ## test1
> >
> > ```
> >
> > What i expected
> >
> > ```tiddlywiki
> > # test0
> > ## test1
> > ```
>
> One possibility is to let `Blocksep` return different results whether
> one is in a list or not:
>
>     function Blocksep ()
>       return bullets[1] and "\n" or "\n\n"
>     end
>
>
> --
> Albert Krewinkel
> GPG: 8eed e3e2 e8c5 6f18 81fe  e836 388d c0b2 1f63 1124
>
> --
> 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/87tv5oqush.fsf%40zeitkraut.de
> .
>

-- 
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/CAATxhGer1TUTYEkrNQiDZV%2B-CpmNrdHsmXhj18RuepXNaUds9A%40mail.gmail.com.

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

  parent reply	other threads:[~2019-12-26  9:24 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-25 10:43 Lei Zhang
     [not found] ` <e249e0e0-d71e-4476-9d1f-12f7d3f2acf5-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2019-12-25 12:19   ` Albert Krewinkel
     [not found]     ` <87v9q4r40i.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
2019-12-25 12:59       ` Lei Zhang
     [not found]         ` <06054cc1-6fa5-4c66-8c8e-7634c2059bd0-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2019-12-26  9:15           ` Albert Krewinkel
     [not found]             ` <87tv5oqush.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
2019-12-26  9:24               ` Jeffrey Zhang [this message]
2019-12-26 20:22   ` John MacFarlane
     [not found]     ` <m2imm2hm6u.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
2019-12-27  1:37       ` Jeffrey Zhang
     [not found]         ` <CAATxhGcwEOa7NX23LK-vAPg=_rK-2gZW_Z5iQCpRNgO7KcEM-g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2020-08-04 23:48           ` Diego Mesa

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=CAATxhGer1TUTYEkrNQiDZV+-CpmNrdHsmXhj18RuepXNaUds9A@mail.gmail.com \
    --to=zhang.lei.fly-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).