From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/29105 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: Comments within a list Date: Fri, 20 Aug 2021 12:52:38 -0700 Message-ID: References: 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="9622"; mail-complaints-to="usenet@ciao.gmane.io" To: Joseph Reagle , pandoc-discuss Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBFEQQCEQMGQEF7APV5A-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Aug 20 21:52:54 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-il1-f185.google.com ([209.85.166.185]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mHAZS-0002Il-Lc for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 20 Aug 2021 21:52:54 +0200 Original-Received: by mail-il1-f185.google.com with SMTP id f20-20020a056e020c74b02902243d481d97sf6011656ilj.13 for ; Fri, 20 Aug 2021 12:52:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1629489173; cv=pass; d=google.com; s=arc-20160816; b=u6iWiAhS22xyR0eAvO2rLbJUHsgjNdUHtiuWWNOj7Zu/L38KUxVXeVuQHwYNsmjXnQ AbTH6W7FriBIuO8COs4YuemCOBMAQo7LtiZsMyP08a85H5HNtaESPWmJPBK2qeTAj8st zzfzuwjz9dp52n69cBkv6pH+Hd4snC24FfMoAYWPuUYblpn0dgewX6zborz9VExaiP4C sMhouxhtZ2g4cyLu3nMbm2bm9qs2jxrI0NOmxxPAsH/YGxT48sawFzzoFFML9BTpwej4 sNRjH2eMhLWCs8FNUycz3zT71LOmSs1r9f0AXWYVjOHu7abcVdPnqATYk+jJ9FlHvh2s /PUg== 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:content-transfer-encoding:reply-to :mime-version:message-id:date:references:in-reply-to:subject:to:from :sender:dkim-signature; bh=1woKjrzJagDGv1apVi6DN9ndTh/tjDqF+5YYud2IV0Q=; b=zfIOA6SO1jTEc75pHNRDyaByYWDZZSpgCwpI3WlNMK+3sNM0V1pacuINhyd3cCT5v0 5o4dh783xvEtOOr5LISEh/Jg9NX11ha20cBRs7He7HyVRKJswQrjlmUqPxc/dZUIFi/n owmiFyZt6UqGMDiXLFAsPz5pbR+UjzqtuCpuc22Mwm17SGo74lTcIs7W0Te8jHF/4paN KTX9sVunFjkP5XdmuA+87FXbAbZ94eJ2vt6pkreLxd4u+erMh7ilxJPPD+HeqlOvZxGR opzD47DHq2OZhH5uG+tMBDmGCRq77o0dfEkY/HBnywgQcpGL9mluJdLyKyFFWblGocBD Jw0w== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=LwKhHuZv; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::52f as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:from:to:subject:in-reply-to:references:date:message-id :mime-version:x-original-sender:x-original-authentication-results :reply-to:content-transfer-encoding:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=1woKjrzJagDGv1apVi6DN9ndTh/tjDqF+5YYud2IV0Q=; b=T4uaZBMiSDw9Lh6Nc9YZwxOk2q4Xt2UIUs1LBSyNQwb9QoRZxnLQq/yozezzWYRSxl rB6AxYbDtFdWf2YKe1El0VAImX7eMMavhAJYXtkIR/iEmJCIUfXxcguhLXaYm3dUPnQ4 D85pd8hvCuEv2Uk6cMDf2n9HKzMxAxI7s4mGHGXLD3UW6GBElKUzZ8RWFUE8HUvIMIIH Qd13fbHs38kQVWKubEyATK7oPGLJU/Bg8uemUtO1VLCi0bgD1YESHi29qWfut4qeIDo4 13TaCeoruQ1tvWyaZDRmY28NWn3ayiEAZ9nctIEL3wWuToIiOTMvD9Xk94BgWznW6kHm RuYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:to:subject:in-reply-to:references :date:message-id:mime-version:x-original-sender :x-original-authentication-results:reply-to :content-transfer-encoding:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=1woKjrzJagDGv1apVi6DN9ndTh/tjDqF+5YYud2IV0Q=; b=mJTQZxOf6XtugNYqmEcVCXRrA1of9OAbkcIzaDQPO7yiCiF8LjEbRrrGLhIBC8RXb+ wnlasD99FE4hs/Tg0br8nXGdK3mHZ3lJm2g/8FEOhXuvZ5FqKYXFwVToz0338wSmlX+E iv9hjJWtjkJfAIju3xTqZfylPOQiEygU8xs0mofa8NCtU3WSF3200vU4t+cyyWsVPvAX 0md5yR7nwRqEAbyZgGYpE1TYFHqA7/h1G7zbln5/ZXwX+yYfIsEvxnnihPwl6YsZHsyu s//UbtlHIKMRCxvDeY3SsUn15C0ZP53VDmwknQBII/2mZWeD+zy174Mx2ipqZZHB Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM533HJjVreeGf2zEcAdK9WOAM3mioSCkcHYtnYHhUP/0qdXOJvEKm doWPj6KJC3ED6e8ApEpGwps= X-Google-Smtp-Source: ABdhPJwjsR/veN2bvYpzhRoqanO73uUS7WzYTOMtsTv8PaVyHCMrX2QT23Nt2vpw8jxXwXjFlHok4A== X-Received: by 2002:a92:4a0b:: with SMTP id m11mr15008708ilf.118.1629489173506; Fri, 20 Aug 2021 12:52:53 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a6b:fb19:: with SMTP id h25ls1625049iog.3.gmail; Fri, 20 Aug 2021 12:52:51 -0700 (PDT) X-Received: by 2002:a5e:8e04:: with SMTP id a4mr17397936ion.56.1629489171886; Fri, 20 Aug 2021 12:52:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629489171; cv=none; d=google.com; s=arc-20160816; b=J2vmTbfpKG3RLDEIV+Ugs796ff7AcJhJ7DdHDmu/Pq7o0/DqHBmikcrTHlRBtCs5e3 usFaL9k1DSjQrFJjTfMfGh2eK/Hgnhs/aHvR6KPq4v42keF2NHw8pp1Fbf06XRenIlSQ vhZ6b9buLRLJtJDYIq/ooQ1rVLUbxUAIBzA9M47XRxO4viNjaAj8u3QRlhpSXkfjPxtA bm/NRrIH2NHM9IXx8N9NxVY8XKaqGOktFXFgAUTeEdVHrEn4UxOiUX/cKkSjSFoPKUPI Hwiwm04EwcBVDD758/zdG0fuYYlToid+1WOA1rYeaA8vJxh94Lj+jPSbKMCOKL4qmB6A HYtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:message-id:date:references:in-reply-to:subject:to:from :dkim-signature; bh=7+E/6K00fN7whu/iknEr3+qq8nYXH/ZOdRJXvHsO14k=; b=Vy/g9U6LdUQIqeGO7DDhYCQYVuTaTKzdKEdNXG14mGLljCHRuNUdnNB6kLXHwFClp0 ijraPee4QTWpam7QSLdoQY4F8iOc8xY1sFGjmCxgkc2XF8kqN5J83GEvHm2vwIYh1cYY 00i5g6k60zldlCnIFcYWDVYkkVivaa21NG/lrvFPt4Ng4Rz4hFDHiCkfRCgMQcK1Fbez D1r7yXrOUhWfkyLwd9TkXODxKk5/QV/A3s6PV5uUt5LtnCSTHl/MlQvSH7p/5QOC4Ktr K9Cv3YkR7vJH7JwFayzjPXZFHs5Pcfd8sLiZxviGLeqqv7yPtbav1MZqZPRvOrik56eH XEGg== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=LwKhHuZv; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::52f as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pg1-x52f.google.com (mail-pg1-x52f.google.com. [2607:f8b0:4864:20::52f]) by gmr-mx.google.com with ESMTPS id o21si237796iov.2.2021.08.20.12.52.51 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 20 Aug 2021 12:52:51 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::52f as permitted sender) client-ip=2607:f8b0:4864:20::52f; Original-Received: by mail-pg1-x52f.google.com with SMTP id x4so10234456pgh.1 for ; Fri, 20 Aug 2021 12:52:51 -0700 (PDT) X-Received: by 2002:a63:d607:: with SMTP id q7mr20124118pgg.268.1629489170598; Fri, 20 Aug 2021 12:52:50 -0700 (PDT) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id pc11sm12208242pjb.17.2021.08.20.12.52.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Aug 2021 12:52:49 -0700 (PDT) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id F0046A2BC; Fri, 20 Aug 2021 15:52:38 -0400 (EDT) In-Reply-To: X-Original-Sender: jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=LwKhHuZv; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::52f as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org 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:29105 Archived-At: This works: - this is top 1 - this is sub 1.1 - this is sub 1.2 - this is sub 1.4 - this is top 2 - this is sub 2.1 - this is sub 2.2 - this is sub 2.3 You can also try -f commonmark or -f commonmark_x or -f gfm. That will split 1.4 into a separate list, given the indentation you have, but you can indent it as above if you don't want that. Joseph Reagle writes: > I know [comments are a hack][1] to end lists, but I sometimes comment an = item that isn't relevant -- but I might want to come back to. However, I'm = not sure why having a comment in a list means that each
  • gets a

    chi= ld...? That makes my lists ugly with extra spacing between the items. > > ``` > - this is top 1 > - this is sub 1.1 > - this is sub 1.2 > > - this is sub 1.4 > - this is top 2 > - this is sub 2.1 > - this is sub 2.2 > - this is sub 2.3 > ``` > > yields (with --strip-comments) > > ``` >

      >
    • this is top 1 >
        >
      • this is sub 1.1

      • >
      • this is sub 1.2

      • >
      • this is sub 1.3

      • >
      >
    • >
    • this is top 2 >
        >
      • this is sub 2.1
      • >
      • this is sub 2.2
      • >
      • this is sub 2.3
      • >
      >
    • >
    > ``` > > [1]: https://pandoc.org/MANUAL.html#ending-a-list > > --=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/f554871e-a51e-5c58-502d-611a97ca95fd%40reagle.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/yh480k35r3x5a1.fsf%40johnmacfarlane.net.