From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/30820 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: Line breaks (Was: Re: Unsupported extension in Commonmark_x resulting in alternative output) Date: Thu, 23 Jun 2022 13:17:23 -0700 Message-ID: References: <7F040099-8F18-41C2-BB05-0A4658311704@coolfortheblind.dk> <377aa06e-714c-ba4a-5445-dc9d518b95ab@usa.net> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3617"; mail-complaints-to="usenet@ciao.gmane.io" To: Daniel Staal , pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBV4U2OKQMGQEGKQ63KI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Jun 23 22:17:30 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-yb1-f183.google.com ([209.85.219.183]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1o4TGc-0000ki-K0 for gtp-pandoc-discuss@m.gmane-mx.org; Thu, 23 Jun 2022 22:17:30 +0200 Original-Received: by mail-yb1-f183.google.com with SMTP id v203-20020a2561d4000000b00669b199cc0csf424077ybb.15 for ; Thu, 23 Jun 2022 13:17:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1656015449; cv=pass; d=google.com; s=arc-20160816; b=iN11oKarGSsH5yEgf+y6zlEZC8FYYY3BwhMSiKUMKHjUCcqxaL47PYbrIP35rzuaE7 KiPj3uS2k120TUJUw/uJmtfwKBvgiVd8pdVe4AxaL0yv8U+FDA1VQ9HXrwmkXqfyo94r mUGu3jW9gmydiKFyLZKlxVKTAkXMfE9ALy/qJ/fjFnEY1HWn4xIu4X6c8wWak62MZ+nr 7cpzIpqctJ7WBSfCPxHC2gD0hwUhjEPqxN69kH0SY4DY2AnidnV2vLCOSAu3DveVaadi tgnFbRgRu4xoLYtrablD959LxqAhCDLGEkeOdKN+GpIvLcMObXoXd6OVW5PKRWAHEIao 2nKA== 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:mime-version:message-id :date:references:in-reply-to:subject:to:from:sender:dkim-signature; bh=wmzoxnbv04d38Mq4vWLHIcsGEDEINysfjDUp3QbWv8U=; b=PcBzfD1WMv26fx3um9K1Nxi4onHyqCPeafbDz3mFK6+cbOmQU6PzX8QkVvZ2qhODDr YBKWkYyFeP9VikMb1cAUIxgfnTIkd/qtLFvvVEOMZUjaZqCEN4Bg7LUcI2UNTQXaSu4y JhXjNguh2u7C2uXIfpW8IOtaCAhn53u4gaLDn95B681U+k4PFrz5SCtiFFnnThsAtJjs s3M+RdTsTr1a9mkNOnT+EuiA0M5gbUA/yCd2S/Zjm6GlxezsBjP4v9e7YPm5nx6Y6pB0 JNkSsrcVkxkaIbeBRsL1Kc9Aq3FQP55x1X/vYTr2HdOPEmXfaXX2ziWNNVZq4Ic5prqm 7TPg== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley.edu header.s=google header.b=l8yAJcQc; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::42a as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=berkeley.edu 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:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=wmzoxnbv04d38Mq4vWLHIcsGEDEINysfjDUp3QbWv8U=; b=KhHPSw/e9FqhytidDle6Q1WXB/itgbP2pCwLdtcGMMfLfbgtRYbEIv9u+iHMdgdGlT docoHNTB0pyyHjTO3JAne0xFCVUcbnhXm+o3qZ6ln7t3yQaqvB99jzOe/VIAyqA99Zz/ ibXgKglQCa8H6OaguF90bZAuX+1MtwgJ7Oc1rz83+sdOu+ti7I6A6NA++Y/pi/j5hj2y ScDVUm8yRXRqqDBOELCSP2Z5i7zdn2fu2TNtmzB5SCZiKeeN8J7iGAKerVvChiApM0+G 2+sJHUYHG8Xk1H1b3f4pGS0vYJzfntvmwFGI98QlpoAU3IgdtxdbOdVLe6ESa/hr2Qfa sxqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=wmzoxnbv04d38Mq4vWLHIcsGEDEINysfjDUp3QbWv8U=; b=J3KCtxVdMekVKRJlOJZ0Dp7xVEvXw8ft0W6Iys7Z0xhmlcVBkegCUefePXKJCzCOKW 2n4qD2JFHQsTdrJPFCKcRWCTaKYNUIIXryLVezqWy6w5atsU5f8q392JedpdqKtUtncy eijiZ6z/cT9pW6S4LLZQ4PAdNjZ1bQz6LcGcHR2QFxG/M3CoiZfeDcm5gy0KAIjxpDYL 0ICe2uyR8wnOm+45c2fgz50uk2uwvfOoyoX+ZbXbJ69qq8IBX6dcD7iM1EGpH7MhG/WP XI8zq6YRD698Esj9+eZG+0L54fPF1yJwOUtBIXTJYpsRFfZZRkbfUYMrWPKwxVPWpB30 yZDA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AJIora8FTX46sPvz4BIVbA3aTQDotkSduhrIFjhkwX9pMZ0hKSmZjTgM l/7oCEH3y4gOg5yQL+z2R80= X-Google-Smtp-Source: AGRyM1tcQRRGSyxnNmBGaYjLmQvUo2C345VYnRUs4RsyshqwzU5Z4KijnsgCTqmqo59tEDKQX+NEnQ== X-Received: by 2002:a81:2fc3:0:b0:314:2bfd:ab9c with SMTP id v186-20020a812fc3000000b003142bfdab9cmr12905490ywv.22.1656015449388; Thu, 23 Jun 2022 13:17:29 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6902:120e:b0:669:ae9d:b421 with SMTP id s14-20020a056902120e00b00669ae9db421ls1682719ybu.0.gmail; Thu, 23 Jun 2022 13:17:26 -0700 (PDT) X-Received: by 2002:a25:7ac5:0:b0:663:c8c8:c29 with SMTP id v188-20020a257ac5000000b00663c8c80c29mr11428189ybc.317.1656015446873; Thu, 23 Jun 2022 13:17:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656015446; cv=none; d=google.com; s=arc-20160816; b=I7ZDUO9PJrdgDog2gkCphlCIeR8TmMGQ/lU4pQeadIWOuSDYOMQDkv3FqpEEFJ9Mhg qvpsvY6LJ9JRMEnw0XKpfWYZEjaweOHrGzW1LJSPTLobNOD1sk2tkxdPPw/ozdn2HZxm jJ1cpFtD6C1GH6NcT9/4Qqc5RwvXiMeNJe3TEjXBs1Brujf9Ed2TgtuUCfSbyZjUz+ks Ux4P+xHRL1Hs8lPzHjxyyIJLGwJr2x1At/J9FC5l4DnKgo60tXKOLmiKpHAlX6VxK3WB nKJZxbtKy09BLzGYw+TGdocwOeaUvMAJ1fBvmI9uG1Y/lZ3pfqvdTkzAxVwsq9FSNZhT 7rvA== 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=mcOjvajsJq4xp7+tVQsMCo97wtYBG+RRoaNF358z15A=; b=ZDebt9++341TGZr0lsPbu6wBiZhc4RmZXyaxhKe5eyo18fpu34Eot4dAFlGWm1xw08 sIGXPKDWPgHFRxeSjpeBL9Rw17PwH+QcStQ7WHr+iEzP+9/2n1ea0bKnu23O+TgyHLIs YwITgXAHTX5U3AbjLstrfEed8VA4jJRhiSMoycPF/2WWnAel3W6FT3Yo0Fc1dv5OplPC CIalVQ1GxX1TW2TTt2J6x+TL4FLevsxxZvrshJnqG9eoEY+BFpLwuqFKIupSh9tDHMnr X/L+Q4dur9iPrfE83VSoDrfMeowQMx6PQzIBw4tbJ+oILgoY6LtwuZ3G2wFTxdBXzUfn 7N6A== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley.edu header.s=google header.b=l8yAJcQc; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::42a as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=berkeley.edu Original-Received: from mail-pf1-x42a.google.com (mail-pf1-x42a.google.com. [2607:f8b0:4864:20::42a]) by gmr-mx.google.com with ESMTPS id r9-20020a819a09000000b0031332987bdasi7729ywg.3.2022.06.23.13.17.26 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 23 Jun 2022 13:17:26 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::42a as permitted sender) client-ip=2607:f8b0:4864:20::42a; Original-Received: by mail-pf1-x42a.google.com with SMTP id c205so614024pfc.7 for ; Thu, 23 Jun 2022 13:17:26 -0700 (PDT) X-Received: by 2002:a05:6a00:21c7:b0:51c:4b2d:f82f with SMTP id t7-20020a056a0021c700b0051c4b2df82fmr42275241pfj.29.1656015445771; Thu, 23 Jun 2022 13:17:25 -0700 (PDT) Original-Received: from hermes.johnmacfarlane.net ([45.32.92.108]) by smtp.gmail.com with ESMTPSA id g16-20020a17090a7d1000b001ec87220fb9sm148034pjl.16.2022.06.23.13.17.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Jun 2022 13:17:25 -0700 (PDT) Original-Received: by hermes.johnmacfarlane.net (sSMTP sendmail emulation); Thu, 23 Jun 2022 13:17:23 -0700 In-Reply-To: <377aa06e-714c-ba4a-5445-dc9d518b95ab-Jdbf3xiKgS8@public.gmane.org> X-Original-Sender: jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@berkeley.edu header.s=google header.b=l8yAJcQc; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::42a as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=berkeley.edu 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:30820 Archived-At: I'll change the writer so it uses \ + newline for commonmark + commonmark variants. Daniel Staal writes: > On 6/23/22 2:21 AM, John MacFarlane wrote: >> This is a bit tricky. escaped_line_breaks isn't really an >> extension for commonmark, because it is part of the core spec. >> The writer uses two spaces instead; both are supported according >> to the spec, and the writer has to make a choice. > > As an aside, that particular choice always is a bit touchy to me - while > it *looks* nice, many text editors (including BBEdit, my preferred) will > automatically strip whitespace at the end of a line. Many users won't > realize it's there in the first place after all, and extra whitespace > can make handling text documents awkward using automated tools. (And, > in case it ever matters, it can bloat filesizes.) > > So relying on whitespace at the end of a line for required behavior is > uncertain at best, in my experience - and this is one thing where I > often have to go back in and manually edit Markdown files after I've > formatted them with Pandoc. > > Daniel T. Staal > > -- > --------------------------------------------------------------- > This email copyright the author. Unless otherwise noted, you > are expressly allowed to retransmit, quote, or otherwise use > the contents for non-commercial purposes. This copyright will > expire 5 years after the author's death, or in 30 years, > whichever is longer, unless such a period is in excess of > local copyright law. > --------------------------------------------------------------- > > -- > 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/377aa06e-714c-ba4a-5445-dc9d518b95ab%40usa.net.