From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/30822 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Thomas Byskov Dalgaard Newsgroups: gmane.text.pandoc Subject: Re: Line breaks (Was: Re: Unsupported extension in Commonmark_x resulting in alternative output) Date: Thu, 23 Jun 2022 22:51:15 +0200 Message-ID: <9689B395-138D-4756-8F47-FD8C7AA62C2D@coolfortheblind.dk> 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 (Mac OS X Mail 13.4 \(3608.120.23.2.7\)) Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9976"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCNKFONGRUMBBTVE2OKQMGQEAAFM3WY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Jun 23 22:51:30 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-yw1-f187.google.com ([209.85.128.187]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1o4TnV-0002NS-Tf for gtp-pandoc-discuss@m.gmane-mx.org; Thu, 23 Jun 2022 22:51:29 +0200 Original-Received: by mail-yw1-f187.google.com with SMTP id 00721157ae682-317ab78a345sf4788997b3.10 for ; Thu, 23 Jun 2022 13:51:29 -0700 (PDT) ARC-Seal: i=3; a=rsa-sha256; t=1656017489; cv=pass; d=google.com; s=arc-20160816; b=JfcjbFseAmsPmQa5KFIbHifWIJAD/ffq6w95tGFOUjUmHT+tfdAsIO/o4S1mZUFAgg E1aSW4ZdbYucY7POygEgYLzofUZDPm20VcIXXqruFRYOqaEUHx5UXeIJNe4vGNonSADH zaQOKLRPH81KNdCdgW6EslGNxyBLkxvso5fQb9uoL45Z2BWAnfJh59kjmILCqNAXYKC/ jBKwUVOpOL64NXMDqV0fcD8L1HpDJ65jVhrJUp181Hetq9e24FhMTEzk55vna76i0c+D Ni5VOUYCK7kpv8ItjXw9tWH7m2574VzwdIm8eFtly5gr3szHhMAkwLlYYciASVTzqSyE opKw== ARC-Message-Signature: i=3; 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:message-id:in-reply-to:to :references:date:subject:mime-version:from:sender:dkim-signature; bh=62IAgUUdATpBeFcVFExV7yeMd157YlKTCXTvIt9QECI=; b=pnSFIea1PBMLDnYeDERCsP2BnA3LQuLdYnVTjwiUvtr3wCHu7LBYuzjZThPzsCgP8q MfzzdzA3EHyqeP5SsmXvrH8Qb7wQiRIP657Biv1d2Gbg5Baaz2GR3kPV0zd572W0E3RS ow0C7auI/fA0fnPP9PTiEIKAkklT3YXRmNv1wxbDRXFjm81vy5pVWlqJvUe3ZZztl/eu u53EjyOEFB5Rwip09TljSDZnRSApAWjtbiPc9IxT0Ea2A2kQyUcSzgBTw5TEqXLM4EHV FI0BJZGa1CZwD8vzO3yWHlByPQs+CHuSNcws8+LLwRei4dShqoUzSrdmt2HpWLI1jv/Q JOJA== ARC-Authentication-Results: i=3; gmr-mx.google.com; dkim=pass header.i=@coolfortheblind.dk header.s=default header.b=Lg3yTktX; arc=pass (i=1); spf=pass (google.com: domain of tbdlist-AHfMSizzl90sTMJHDOTzqX9LOBIZ5rWg@public.gmane.org designates 23.83.212.50 as permitted sender) smtp.mailfrom=tbdlist-AHfMSizzl90sTMJHDOTzqX9LOBIZ5rWg@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:from:mime-version:subject:date:references:to:in-reply-to :message-id: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=62IAgUUdATpBeFcVFExV7yeMd157YlKTCXTvIt9QECI=; b=AHsTChiZP3D2FRR6qWGWEKtb03PzsnVAfB+08utaaH6fhaXYAOM/GM79hUUWngy6+A e07gEOoW0xwrfYdhCauGMZs9JOYgJYjjZgRAvuG4EgeYMC6dlgx9dsm953p1SFKxZuJz 8GpimPdVH07Zyr6Om0IkM42yRx8HVV2pXqLmIUUmTVhx5h0moyUBLC3AEt1tFEmrhWUx /Iij4iWev5bOK/KyNYk8HSuZGvk0Jlv+LIkXGQTlzzcmwlomLtF5CO/vI08G+//gtRTg jhrBJXO/3yxMFcaZatFk6VlmeHLYkFoJMAUCeRksNc6e2Me+UljsQ8ALh5UbQpVDAQ7a eiTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:from:mime-version:subject:date:references :to:in-reply-to:message-id: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=62IAgUUdATpBeFcVFExV7yeMd157YlKTCXTvIt9QECI=; b=8OAGYiCwA+vBzvGWZheihsr5lUS3IdHzo+qhkGUGnWF8/6e5vVcxx8zU0CRC5Tkyau Ac+XkQ5iW/lmEyHEP0bvIBOA3mgzEibP7Lso23ooi88w5qzq5cRSf5bjGa9/DvUvZSS+ bgM8Ze2sJMcIuy8Hb+EOlImpCkq5GqHaCpW4uAP/WccSfAYVougVFr4PtfdfWYX+grN0 lAPI00GNRJHKghvczRM21onQhdaHkAbM5f4EuqWpvkj/KqKXWqL+uRHE9Z9FSCKCVoOP Dn9ICjYLy6MY1WokqOFniPGy4IXJbzNwm1eYTQN6M8YJ+KtGZ5LfLf+dK3YtndiR2PBW Iq/A== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AJIora+Ln05VWUA09x53J5Jp2nVO7wJJ7QFg8zbuH1yVuGyTBIIXdAjB GM19LhqHpxqy1lj+xKk9hbc= X-Google-Smtp-Source: AGRyM1vTyZeoXzwI6jBTLt0X2lXGCpQZBVRjV+k77sdUEk1MgUq7GXmlk5/vdGGOWQSKidJOSFe9hA== X-Received: by 2002:a81:a242:0:b0:317:5a3b:3fc8 with SMTP id z2-20020a81a242000000b003175a3b3fc8mr12701213ywg.424.1656017488877; Thu, 23 Jun 2022 13:51:28 -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-20020a056902120e00b00669ae9db421ls1731834ybu.0.gmail; Thu, 23 Jun 2022 13:51:26 -0700 (PDT) X-Received: by 2002:a25:f506:0:b0:669:aee8:8510 with SMTP id a6-20020a25f506000000b00669aee88510mr5219527ybe.523.1656017486197; Thu, 23 Jun 2022 13:51:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1656017486; cv=pass; d=google.com; s=arc-20160816; b=U1FExeuNO3YRXyrDMct3j/Z+bY6GK4AKddD9HPY+n/WJGAqT6xOGrX8qmIDNmQ0lri r1So8dl0CnKrDT/s15I828A0U7yYo7BIQwCZ7+k4wr7xP1nC2qXrD6NxvgMmDJlIJioC EQZ4CBF0unkUrtdTQv7p7q7VtLRldyIPUHc1NNjSizcc1GvBxWRix2V1ZsKxJ3G3sxDq +Wn7MIjZ8T4YRc7eTBGCSMVC8B1/gMOi21TyZDpBEhcPUJIjU25FifcjJgkGkf1ZgFHE 3OI7l/u2dnWdInsHtGhwIhV41lO7/IRykdXCsocq9l6jHpINthLLk1aoYRv19M+IFxTp ChFA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:dkim-signature; bh=pyGPsfqDrnqVQK2uVbL9BQWGVVDQwu8P0GN0G+bS6mA=; b=Z1dIkLNV4nGfwruqShHsPZ7HUSQzicDeF0Ree1VjoFZpwa+0fVgKbQRWYDzQYuriXP fWioSIyaXiShc/hEO2m+S5Bg9pjwNetR1wrAz1MpfNgUCGMPKWBoAKta6swFW8yigZpy 8PZn2VSS2uCeGipCpcEBTVbEePrZKURr9KzNMFPEkrmMrrR1BRolQ8fQj1DQ/92fhvTL PyrclAOfIXhjd4j9dyNPcZr0DpywKJTkqf/WgQtPWkRIOsGwZSghEEU05jKyrLUDuXC+ LIVOyRHMXFYl5NNdLyk1g+WnhXIbhSjwA4p4iJZVI56fYlxuma2yQQYYUFn+u1hyfRCi IMsA== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@coolfortheblind.dk header.s=default header.b=Lg3yTktX; arc=pass (i=1); spf=pass (google.com: domain of tbdlist-AHfMSizzl90sTMJHDOTzqX9LOBIZ5rWg@public.gmane.org designates 23.83.212.50 as permitted sender) smtp.mailfrom=tbdlist-AHfMSizzl90sTMJHDOTzqX9LOBIZ5rWg@public.gmane.org Original-Received: from dormouse.elm.relay.mailchannels.net (dormouse.elm.relay.mailchannels.net. [23.83.212.50]) by gmr-mx.google.com with ESMTPS id 18-20020a810412000000b003188204f717si10169ywe.4.2022.06.23.13.51.25 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 23 Jun 2022 13:51:25 -0700 (PDT) Received-SPF: pass (google.com: domain of tbdlist-AHfMSizzl90sTMJHDOTzqX9LOBIZ5rWg@public.gmane.org designates 23.83.212.50 as permitted sender) client-ip=23.83.212.50; X-Sender-Id: azehosting|x-authuser|tbdlist-AHfMSizzl90sTMJHDOTzqX9LOBIZ5rWg@public.gmane.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 3458C823BF for ; Thu, 23 Jun 2022 20:51:24 +0000 (UTC) Original-Received: from cp06.azehosting.net (unknown [127.0.0.6]) (Authenticated sender: azehosting) by relay.mailchannels.net (Postfix) with ESMTPA id 32EB2823BA for ; Thu, 23 Jun 2022 20:51:22 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1656017483; a=rsa-sha256; cv=none; b=TrX9OPfTMKnvGrmZd5JQSbhC5HsufD2TvFKSlbd2oEx2UP92CGTqwNuGDJ20zbHNIuSpCq Kof4NUhhfvAeVRuiB4jQUAhe3TepgHPy9JtXQ6IIQySsvn2XZrzcV7WOjTYwUI2dPVfAuk smFIOtV7BUY8PHMhjfl0pQw1k0xAm++Wfw1D+9D4WY7kbAdt5vnxy5KIcr6PbKmsLbtclb xZb/z5kr/BRm9Rld3/eVUEl5jJuKYCjSCpDeZDboX7KQDs2DcIfp0ruaHhPUGkcyXcyYwq GMt51qv5iDQbe+GLnMbZir+6n9Y7KvjZ1azJSe1uaisLu5WzmBzIUwpjtHrqaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1656017483; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=pyGPsfqDrnqVQK2uVbL9BQWGVVDQwu8P0GN0G+bS6mA=; b=lloKlAuDvin7qhN8vGafKU6Kr/yVS47dDxSFSKLyzE4bS1KUKjvmJoeaunlbqSqL2Bi/wn sOoUjHBvw8MU7/VjKNo52swJycmXi9XShmUssYyCVDIhAb3xHFb5P3yzrDIOfch98Rqi/2 TwZO4m2i6aD8Zt8qvLGvA2ypjUfEcL8JT7tBIWTgyuUS6IMct4+8AKMGWQVmW+fVeR6vZa Q1G+VyEKcmNg1t3nAtptDpgr+Idh7EdDdQzd06BAP3oA34utaleycu3xfbj3wmOyE7uaRQ FVtR2Iyj63vaQJTxTmz99dd5kXopieUXeiI4St02Ovh/xZo9MoT5uEMJ/+31mw== ARC-Authentication-Results: i=1; rspamd-848669fb87-bdrp6; auth=pass smtp.auth=azehosting smtp.mailfrom=tbdlist-AHfMSizzl90sTMJHDOTzqX9LOBIZ5rWg@public.gmane.org X-Sender-Id: azehosting|x-authuser|tbdlist-AHfMSizzl90sTMJHDOTzqX9LOBIZ5rWg@public.gmane.org X-MC-Relay: Neutral X-MailChannels-SenderId: azehosting|x-authuser|tbdlist-AHfMSizzl90sTMJHDOTzqX9LOBIZ5rWg@public.gmane.org X-MailChannels-Auth-Id: azehosting X-Interest-Hook: 67a74f34760aea0c_1656017483765_3053369062 X-MC-Loop-Signature: 1656017483765:3516047536 X-MC-Ingress-Time: 1656017483765 Original-Received: from cp06.azehosting.net ([TEMPUNAVAIL]. [157.90.34.121]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384) by 100.101.255.191 (trex/6.7.1); Thu, 23 Jun 2022 20:51:23 +0000 Original-Received: from [176.20.196.202] (port=49802 helo=tbdmacmini-1.home) by cp06.azehosting.net with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1o4TnL-000Ekv-Bs for pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; Thu, 23 Jun 2022 22:51:16 +0200 In-Reply-To: X-Mailer: Apple Mail (2.3608.120.23.2.7) X-AuthUser: tbdlist-AHfMSizzl90sTMJHDOTzqX9LOBIZ5rWg@public.gmane.org X-Original-Sender: tbdlist-AHfMSizzl90sTMJHDOTzqX9LOBIZ5rWg@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@coolfortheblind.dk header.s=default header.b=Lg3yTktX; arc=pass (i=1); spf=pass (google.com: domain of tbdlist-AHfMSizzl90sTMJHDOTzqX9LOBIZ5rWg@public.gmane.org designates 23.83.212.50 as permitted sender) smtp.mailfrom=tbdlist-AHfMSizzl90sTMJHDOTzqX9LOBIZ5rWg@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:30822 Archived-At: Hi John! Thanks so much for this! Can you also look into enable the extension lists_without_preceding_blankline since the same issue is present for this extension as for the escaped_hard_line_breaks. Best regards Thomas > Den 23. jun. 2022 kl. 22.17 skrev John MacFarlane : > > > 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. > > -- > 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/m25ykrqgmk.fsf%40johnmacfarlane.net.