From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/30427 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Bastien DUMONT Newsgroups: gmane.text.pandoc Subject: Re: spacing between items in plain text Date: Sun, 10 Apr 2022 09:42:25 +0000 Message-ID: References: <25169.62483.641766.380124@high.jcbradfield.org> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11822"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDCINCES2QJRBA6NZKJAMGQEWYL257I-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun Apr 10 11:42:32 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-wm1-f62.google.com ([209.85.128.62]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1ndU5X-0002yk-BC for gtp-pandoc-discuss@m.gmane-mx.org; Sun, 10 Apr 2022 11:42:31 +0200 Original-Received: by mail-wm1-f62.google.com with SMTP id i184-20020a1c3bc1000000b0038e4c5968b5sf8518097wma.0 for ; Sun, 10 Apr 2022 02:42:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1649583751; cv=pass; d=google.com; s=arc-20160816; b=ydKeOlKRsaSTkMxwI5qW82ndeXpcaxlwyER2BeJl25eva0wwcZ2vrNKmx6V8VYVApd 7hfZAsTmvbPtmPvv5ZCt0UlnjWslVnwMRkFSGXlWTvbxupTh72JYQnVmFHaqEO8EsgCd RTjt35v5VJ9ZJnwl4r8iYx2ixGYiW8IbDTG0+YU8U/YwIWFGPl8j8OD7vzQk284nfrRH XPtNk8xbEfQGQramvfQdTbP6SNJxY6FvsdCLJc+rxeskwwJsLsGfvSJRrpMwhJnMFKaa 8SqA555/IlujRy2Z2nelNKW+ldbdLySyRDyK/Bb8vAULEleBrNPIC03Nx0FlyigLkexu LcOg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:to:from:date:sender:dkim-signature; bh=Z9Ur614KfcL4DRu10+B+oPUgSmQLJsfjUNLObjw6cyM=; b=pdo7oNwl00Y7CXmySVVrVZT+LGdcIiTTIbFk/Z/TML8momEbuRv+0cWgAyJRCaeQhV /4lryCdX6wZQtAHmPeattnE4EFledJJzCZxPr13eW7kSUUQDBflLdcKCdHb7eWBBwG/H oIJLomSMJLrSDbWmmTKUpPaE/V2xWuICZLt0DKzjRma+zFJeRZmuOMbYdtR1xTe73Y3s hf+3QHbX4Kg+t8DdbaZREM+GePdZa82IBYywBvk2dUHTMtqWegtGUeCPvxAzl0ySmoQT 3eO6J6WjV/BxK94n9xk8hk4/yycBUrWbFhDKPEoevrIXDcS/1Qb6IviTEGavs5IyPq6I PAIw== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=nRIeE9k8; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.65 as permitted sender) smtp.mailfrom=bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:date:from:to:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=Z9Ur614KfcL4DRu10+B+oPUgSmQLJsfjUNLObjw6cyM=; b=YTisMufAl+NfO6cXjV5rBb4jMDmsXd6sKVZzo2/5AnTw8DlJ/4U8XKifwzO+SlNKcL WRDzfM6rPWS30t8ZV04IO2mPkS6qZf+wU7G3bHHlGJ9C/K+ICdI3PAe+5DfgmHRroNsK yc/9/Snty8EUy5J2689jeQNn2hwhzE9/IS3f/FmkB+KIsJ1EZDf0njl8drEhnGB6jbQP 6/yJqaO+GKIx3tc8FtaJ3YfCVuj91jwiB3e2LvcrstfYfmhDtGq2LpfLs15JwXCqiuot 9CMT/hwaLxHs7o4DC3jj9sUL/ykNYpfmndLRD723et6yo24zE6SI7Lue3VcNsKMUdq4b tWNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:date:from:to:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=Z9Ur614KfcL4DRu10+B+oPUgSmQLJsfjUNLObjw6cyM=; b=5/lpWYcKA4OaWHXpyesnuqDuVrkCWHJ4iZEg4ywCsG8j9hI5Ozmwj+hi6U+W3dhSvS Ftzr0gxUlrDaRSPO6Pn0jBxBeo5nJMmF3taxQFG87c34J8YYEKpIxiEemma/1ApApLY7 Ovq+goxMfXk+0QJ8jyYqA9aE6MXvCzra40zLnVGMRPvD0n4RnXWh5j66RSmDzN2ey5vM 1rDL42WrrrnNQQumMAmBFocp4xcbUXrrq73y/N7H31NNmRqUpsmiY9gD/jnwQ9LByjL5 zyaWpi4T2zlbSyYWKIbaSf680v7ZpHEmBJ0gAFtxDQ6S Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM5337f+WHNxnWqdAJ+zzx52qjW7vU2p07m3KeEcNzWUyuUv6POip8 GnAotCJWkyBLiWW1LMWA2jY= X-Google-Smtp-Source: ABdhPJzdq/norcDkeRzEHUI1d36uIHVBlN3DyJvHmNoFmVTipIV267U5JOyKua71IsGGih54ZQp/HA== X-Received: by 2002:a05:6000:1866:b0:204:cce:c89e with SMTP id d6-20020a056000186600b002040ccec89emr22367662wri.601.1649583750787; Sun, 10 Apr 2022 02:42:30 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:600c:3544:b0:38c:6c15:b2dd with SMTP id i4-20020a05600c354400b0038c6c15b2ddls2837598wmq.3.gmail; Sun, 10 Apr 2022 02:42:27 -0700 (PDT) X-Received: by 2002:a05:600c:ac8:b0:38e:9b0e:f6d8 with SMTP id c8-20020a05600c0ac800b0038e9b0ef6d8mr12794933wmr.203.1649583747262; Sun, 10 Apr 2022 02:42:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649583747; cv=none; d=google.com; s=arc-20160816; b=M9jUO55VuBkOMpuChaqcjCn2EX8VcskrAlqRBhGswyz/XTatlXQLjTueh9pxggtSLC Yuavn7ndAM5PwxNiHnFRr8x5o90gwwm+8bsDTSNQPInRUcQkICwghkzPqX2tvDMDiZUt 0BBkTAWro7zj4OG32YeGsUxr0V6InYKXrm2epA2qf2uqT9muUchE6k6JvM81is00mZWP bBKNTQ0RZk/pdafjTDtdl7PboOQsgESJyt8F7gqFFjj/ab/BgDyx/SQyrN8utZvIvPeV jHBJNPK5J3jh/UE96fehnRj9KwKZt6ogZeZIlxlkyFQAZ00YwHGbOlvbSJl2LbenK43S uv6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:to:from:date :dkim-signature; bh=1zdioWWmYcs5dmhpHHk+kZgC3c72vLrNEw/vE5wbF8s=; b=kKvk5HNyAtIGAFJ09KRPMN2X3ov0rntCuV1wUYtZeTT6a5H5Iwf6w4pzNkFcW/1S6F ExxLi1dxce4wGgKbeMQvGqe/IORXvADqAvj+VI/HeoanNeatdu0iazZzjabU85I1ZTq9 lPp7wrRP7BwIQU2b8lOEBu3PfSbjUpnQAT9b5gZnOS7JJn9deUBkKeLoP1mOIYyAdPyI 9x3XPxwra6zBLIHbROvPpvpGGb22jMR8ah0HcyFCS9DozRtpo+sGogLTPs7ALauqGCwa Ahs4OjHO6vcfrtzX+DT8QD5FsdDe7Gd/BRNj/btPJIefb91jadg/4q6D4XCNVulWOdrE Np0g== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=nRIeE9k8; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.65 as permitted sender) smtp.mailfrom=bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net Original-Received: from mout01.posteo.de (mout01.posteo.de. [185.67.36.65]) by gmr-mx.google.com with ESMTPS id bh13-20020a05600c3d0d00b0038e564ac2cbsi878932wmb.4.2022.04.10.02.42.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Apr 2022 02:42:27 -0700 (PDT) Received-SPF: pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.65 as permitted sender) client-ip=185.67.36.65; Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id DE70F240026 for ; Sun, 10 Apr 2022 11:42:26 +0200 (CEST) Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Kbn8L2tMdz9rxH for ; Sun, 10 Apr 2022 11:42:26 +0200 (CEST) Content-Disposition: inline In-Reply-To: <25169.62483.641766.380124-2Bkq8O7kH1dDWdl4zjylUmD2FQJk+8+b@public.gmane.org> X-Original-Sender: bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=nRIeE9k8; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.65 as permitted sender) smtp.mailfrom=bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:30427 Archived-At: I guess that you could achieve this by adding a blank line after every leve= l-1 item, but pandoc 2.17 handles your sample file as you expect. Le Saturday 09 April 2022 =C3=A0 10:01:07PM, Julian Bradfield a =C3=A9crit = : > I've failed to find an answer to this by searching, so ... >=20 > Consider the following markdown: >=20 > ------------------ > 1. A list > * with sub lists > * point 2 >=20 > 2. Second main item > * subitem 1 > * subitem 2 >=20 > 3. main item without sublists >=20 > 4. another main item without sublists > ------------------ >=20 > If I convert it to plain text (pandoc 2.5), I get: >=20 > ------------------ > 1. A list > - with sub lists > - point 2 > 2. Second main item > - subitem 1 > - subitem 2 > 3. main item without sublists >=20 > 4. another main item without sublists > ------------------ >=20 > which is horribly inconsistent. I would like spaces before level 1 > items, whether or not there are sublists. >=20 > How can I do this? >=20 >=20 > --=20 > The University of Edinburgh is a charitable body, registered in > Scotland, with registration number SC005336. >=20 > --=20 > 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/msgi= d/pandoc-discuss/25169.62483.641766.380124%40high.jcbradfield.org. --=20 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 e= mail 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.