public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: Bastien DUMONT <bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: spacing between items in plain text
Date: Sun, 10 Apr 2022 09:42:25 +0000	[thread overview]
Message-ID: <YlKmgfjl63CZtrzS@localhost> (raw)
In-Reply-To: <25169.62483.641766.380124-2Bkq8O7kH1dDWdl4zjylUmD2FQJk+8+b@public.gmane.org>

I guess that you could achieve this by adding a blank line after every level-1 item, but pandoc 2.17 handles your sample file as you expect.

Le Saturday 09 April 2022 à 10:01:07PM, Julian Bradfield a écrit :
> I've failed to find an answer to this by searching, so ...
> 
> Consider the following markdown:
> 
> ------------------
> 1. A list
>     * with sub lists
>     * point 2
> 
> 2. Second main item
>     * subitem 1
>     * subitem 2
> 
> 3. main item without sublists
> 
> 4. another main item without sublists
> ------------------
> 
> If I convert it to plain text (pandoc 2.5), I get:
> 
> ------------------
> 1.  A list
>     -   with sub lists
>     -   point 2
> 2.  Second main item
>     -   subitem 1
>     -   subitem 2
> 3.  main item without sublists
> 
> 4.  another main item without sublists
> ------------------
> 
> which is horribly inconsistent. I would like spaces before level 1
> items, whether or not there are sublists.
> 
> How can I do this?
> 
> 
> -- 
> The University of Edinburgh is a charitable body, registered in
> Scotland, with registration number SC005336.
> 
> -- 
> 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/25169.62483.641766.380124%40high.jcbradfield.org.

-- 
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/YlKmgfjl63CZtrzS%40localhost.


  parent reply	other threads:[~2022-04-10  9:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-09 21:01 Julian Bradfield
     [not found] ` <25169.62483.641766.380124-2Bkq8O7kH1dDWdl4zjylUmD2FQJk+8+b@public.gmane.org>
2022-04-10  9:42   ` Bastien DUMONT [this message]
2022-04-10 11:03     ` Julian Bradfield
     [not found]       ` <25170.47468.723172.999462-2Bkq8O7kH1dDWdl4zjylUmD2FQJk+8+b@public.gmane.org>
2022-04-10 11:59         ` Bastien DUMONT
2022-04-10 15:31           ` Julian Bradfield
     [not found]             ` <25170.63586.916772.985317-2Bkq8O7kH1dDWdl4zjylUmD2FQJk+8+b@public.gmane.org>
2022-04-13 18:03               ` gnpan

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=YlKmgfjl63CZtrzS@localhost \
    --to=bastien.dumont-vwifzpto/vqstnjn9+bgxg@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).