From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/29903 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Thomas Byskov Dalgaard Newsgroups: gmane.text.pandoc Subject: Re: Inserting blank lines into a document using Markdown Date: Wed, 5 Jan 2022 20:49:54 +0100 Message-ID: <4FF46680-CC8E-40B1-83B2-F9D6F7D219E4@coolfortheblind.dk> References: <3B3F5A70-0DF9-4D74-B8AC-0CDD03E46388@coolfortheblind.dk> 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" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10500"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCNKFONGRUMBB3PM26HAMGQECVVOLGI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Jan 05 20:50:07 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-qk1-f186.google.com ([209.85.222.186]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1n5CIR-0002Vb-Cm for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 05 Jan 2022 20:50:07 +0100 Original-Received: by mail-qk1-f186.google.com with SMTP id o196-20020a37a5cd000000b0047743cf5c29sf379659qke.18 for ; Wed, 05 Jan 2022 11:50:07 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1641412206; cv=pass; d=google.com; s=arc-20160816; b=cRm1pDPHmF0BRYsveB4joozvZOa93ePA3/2wSGGcLfF9QaGh1JRSloWbghpDtZ/b8W YY3pk04q9Dujwg6tnmD8rQGtVjpoidoS60ep6NK2RnXLJED5rZrIVGP2BFdur4Nxfe7m NLiD+4UUEasUAug1RsUCl5E3nPrfAW28yw7lxcYN+TblR/Trmh1XZda1RBB7log+HcUC 2qsP+0Bi8V2fl4LsMFMJCVYu+pAFSn1JEXCOJMey/seJeWZodh1fgSYOFZqvESUHNLYW +72HkejIOgHVQtAItTezsEmOUA7T4KTvRF/kFbXS39GwDyfJ79qjb2Q224mXKUO0mr7e B5KA== 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:message-id:in-reply-to:to :references:date:subject:mime-version:content-transfer-encoding:from :sender:dkim-signature; bh=8thm46i4h6dq2GRmxRkBuJTiRHZwS7Oo7S3Mwj7rass=; b=KIhBj3cK12Vlbr51BNzA4oZBF7Gli65c9C12MehogQTNbPQFugQCCRQkz3Ju+112k+ z/9ShEZ5UDHx6X3ZgtZsAQIfksVipn6FbqOMcp9LTXpx4bux6ppR0/J7Ckcpl9WsMoU4 jZ/Pqt0XIRWjqVVQsET6O1W/Dcxiab9/WdRjhv60GA/bNJLiQfbIDhf3iM1Xd7l8/fUh 7oPQcAsmVMbpQwJOdVuvJ0MvyilCXI/FQiExo8lLNPpQxHeZUVLgkuPmJ/h385XihEk2 L6YVg/csgyFYQ+vc77SNWES6cV4vNca6H+Il/riKRte5rZnSIXW+FRCyvVeB9KpW+RSF zGwQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@coolfortheblind.dk header.s=default header.b=7WIVx8tr; spf=pass (google.com: domain of tbdlist-AHfMSizzl90sTMJHDOTzqX9LOBIZ5rWg@public.gmane.org designates 23.83.222.54 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:content-transfer-encoding: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=8thm46i4h6dq2GRmxRkBuJTiRHZwS7Oo7S3Mwj7rass=; b=nTN+re3gNiX3cMYwHrMdfPBY8tdRVXYq/X1N4zxzDyk1LKqfnwiAJpYQndhIfL6qkT EPQXIr9OrrK7bn22q02aXIPN8eEelznAgZf+QcZ2VWyifoubacwNS8gEkr7xfp9xYXc2 jmVoCAH4T/cxf16jWHDE7kPqquoJ5k9iSi6fQPh0HNKO/01IoQ0+Xu1p6EwZrcQfuItY PDhPeawEcnNwY6s6qd8cRfPyq9hPbE2lvI1pkIFhxkuvp0XLC/MPJXcFa+T6YVNMEVZK f1vgGYpkM4/cvPpUXLA54ta96yhrf11SsVMcaK+WsScZrJljCx0374jBMogC4xmCbISd eFkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:from:content-transfer-encoding :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=8thm46i4h6dq2GRmxRkBuJTiRHZwS7Oo7S3Mwj7rass=; b=Gpf2t1TldPGP05uzJidrrYgvdi276me7lODT0PtQ+veGn1bcGSEV8pvBirrvmQvcJb EYLf/APfqevCmfCewT86GM8HwZXmNK7L7mghWnaCowu8fDih/QwaqgYqm9kLiLwdYxVk M5vAUBsBqKTLmFUQurZhoXB+K//dwSA+aiqbfl+ZEiGBwOw5mXjuM8bjwSDFkyDLr8AP YT7zwr+uqMnw+Q191IkdfIRUtL03F3/oK68Tgrj3Sm03gGt/e2q8Jsm1Uide+UakqXTf GPQIHUaiX4B3koC5RsKtwNIiL9UdKbGqwrxlljRbL8CHmuLrA8DH1zTe02hNgsCHHsWL Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM532wYAFb9lPysQMRQxeNlNB8XX5H8goSWbvwO2Qm0aqf9JOgFmCH xNgdsZVlfdZkCBRCgEJfM1Y= X-Google-Smtp-Source: ABdhPJyYQsD4+0H9EZYyA0olnb6lLpoG0I+7+4cDx+M2cjMFDEDkQ+8R4Y2k4I0c/MRJTT+Tn944Dw== X-Received: by 2002:ad4:5bc6:: with SMTP id t6mr51417701qvt.102.1641412206366; Wed, 05 Jan 2022 11:50:06 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:ac8:5bc7:: with SMTP id b7ls20768706qtb.11.gmail; Wed, 05 Jan 2022 11:50:04 -0800 (PST) X-Received: by 2002:a05:622a:1d4:: with SMTP id t20mr50057216qtw.84.1641412204714; Wed, 05 Jan 2022 11:50:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1641412204; cv=none; d=google.com; s=arc-20160816; b=M+mwG94Z+DjOVf5UDCnBd+Ip1ZJLPuoVUEESOWCIPGgIkKifrchD8yfYIJsYCxebk2 UcYq+7t874pNnHR+o6Rxamcx2xhn5/9c+MkMgyKoE8SamL4cyRSJiHqF6Mxu73aicb3+ wKNmeu4GWqrRksMbQB56WKwskjTDtF8Jx7Y6G4MJPsKzevj7QyqcRk1Y1FwUK5nbEQZG 4el7q+U8aBhHas9yo2ZRZquNvUqQ76QfiuV5Y/WTktH36QJftC8D2ugzmgdZenB82rS3 Gc3LkKR70zlkJP4WWSvg9rvhyTIMC35b9gyI8OD0zKRfT07qO6Ce/rmX1z6f33RtafPM WwPg== ARC-Message-Signature: i=1; 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=PA12iEDuN9vllrDvMou0NjQxMCXeeoif0b3lADKrXZg=; b=Jy4k9wGPYQAwu2UAQ5mtgJ4Cy4fD/1pmJ6Xd62Rg8eq+vf0Y6k4UWr8MTUDs++FhKc +P9dIsYEILhunbI86uXPgwtmZgGOQ6uuj2Zh1PfRQO903OgeDD5TjKtRBkkymfHlMWy7 2oNp7/linkxXFi0afyJlSGGnLPn1dcbXfwa8mR00MYRfJXDZx3u47MELyAs/vzHWTO0q W/UK2PW38He4iBngNynFQ57VyW4tD7MXmD5CYrfKGT+wgXAQOrknLJg2KIgpPo8Nzh2H ic8SGYc0QJliHXEvx54P7JixjP7keO4lFL1ReDx4LFG3C9ZO1nvQVuF1my7YWfm+7qHv NKHA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@coolfortheblind.dk header.s=default header.b=7WIVx8tr; spf=pass (google.com: domain of tbdlist-AHfMSizzl90sTMJHDOTzqX9LOBIZ5rWg@public.gmane.org designates 23.83.222.54 as permitted sender) smtp.mailfrom=tbdlist-AHfMSizzl90sTMJHDOTzqX9LOBIZ5rWg@public.gmane.org Original-Received: from earwig.ash.relay.mailchannels.net (earwig.ash.relay.mailchannels.net. [23.83.222.54]) by gmr-mx.google.com with ESMTPS id 22si6943219qty.4.2022.01.05.11.50.02 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 05 Jan 2022 11:50:04 -0800 (PST) Received-SPF: pass (google.com: domain of tbdlist-AHfMSizzl90sTMJHDOTzqX9LOBIZ5rWg@public.gmane.org designates 23.83.222.54 as permitted sender) client-ip=23.83.222.54; 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 66CD6125285 for ; Wed, 5 Jan 2022 19:49:58 +0000 (UTC) Original-Received: from cp06.azehosting.net (unknown [127.0.0.6]) (Authenticated sender: azehosting) by relay.mailchannels.net (Postfix) with ESMTPA id 56485125299 for ; Wed, 5 Jan 2022 19:49:57 +0000 (UTC) X-Sender-Id: azehosting|x-authuser|tbdlist-AHfMSizzl90sTMJHDOTzqX9LOBIZ5rWg@public.gmane.org Original-Received: from cp06.azehosting.net (cp06.azehosting.net [157.90.34.121]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384) by 100.99.165.222 (trex/6.4.3); Wed, 05 Jan 2022 19:49:58 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: azehosting|x-authuser|tbdlist-AHfMSizzl90sTMJHDOTzqX9LOBIZ5rWg@public.gmane.org X-MailChannels-Auth-Id: azehosting X-Macabre-Versed: 7272baa320042829_1641412198024_3743640306 X-MC-Loop-Signature: 1641412198024:2035545993 X-MC-Ingress-Time: 1641412198024 Original-Received: from [87.55.101.166] (port=60917 helo=[192.168.0.23]) by cp06.azehosting.net with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1n5CIF-000CmI-Vl for pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; Wed, 05 Jan 2022 20:49:55 +0100 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=7WIVx8tr; spf=pass (google.com: domain of tbdlist-AHfMSizzl90sTMJHDOTzqX9LOBIZ5rWg@public.gmane.org designates 23.83.222.54 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:29903 Archived-At: Hi Bastien! Here is the result from 2.16.2 converted from Markdown to docx: This is a paragraph. After it, a blank line will be inserted. =E2=80=A8This is the following paragraph. I see a strange character there where the blank line should have ben insert= ed. I use Markdown quite extensively when using Braille, the way blind and visu= ally impaired people read with their fingers. I have a braille display connected to my computer and therefor I can get ni= ce results via Markdown, I use Pandoc for converting documents when I need = them to look elegant. Yes, I could use Word, but I preer Markdown and plain text. :) Do you think I have found a bug here? Best regards Thomas=20 > Den 5. jan. 2022 kl. 14.12 skrev Bastien DUMONT : >=20 > I don't get any special character in DOCX, but I still use pandoc 2.14. I= f the exact code I wrote produces one in v. 2.16.2, this may be a bug. >=20 > Don't write the backslash between two blank lines if you want only one bl= ank line: this indicates a paragraph containing a line break, so you will e= nd up with two blank lines in the output. Instead, write the backslash on t= he line immediately preceding the paragraph, as I showed in my example. >=20 > In what cases do you want to insert some blank space before a paragraph? = It would probably be better achieved through styling. >=20 > Le Wednesday 05 January 2022 =C3=A0 11:57:49AM, Thomas Byskov Dalgaard a = =C3=A9crit : >> Hi Bastien! >>=20 >> Thanks for your idea. >>=20 >> I am a little behind on HTML 5 specs, because I mostly work in Markdown. >>=20 >> The following worked: >>=20 >> ~~~ >> This is the first paragraph. After this sentence there is inserted a bla= nk line before the next paragraph. >>=20 >> \ >>=20 >> Here starts the next paragraph. >> ~~~ >>=20 >> I noticed though that this inserts a special character when I convert fr= om Markdown to docx-files. It looks like the escaped linebreak does somethi= ng unexpected. >>=20 >> I also noticed that If I want to insert a heading I can't get blank line= s before this element in docx-files as well. >> How can I troubleshot this? >>=20 >> Best regards Thomas=20 >>=20 >>> Den 7. nov. 2021 kl. 11.40 skrev Bastien DUMONT : >>>=20 >>> Hi, >>>=20 >>> This can be achieved by escaping the first line at the begin of the par= agraph: >>>=20 >>> ``` >>> This is a paragraph. After it, >>> a blank line will be inserted. >>>=20 >>> \ >>> This is the following paragraph. >>> ``` >>>=20 >>> However, if your inserting of a blank line follows some general criteri= a, there could be a better way to do this than manual insertion. >>>=20 >>> Best, >>>=20 >>> Bastien >>>=20 >>>=20 >>> Le Sunday 07 November 2021 =C3=A0 11:29:52AM, Thomas Byskov Dalgaard a = =C3=A9crit : >>>> Hi! >>>>=20 >>>> When I render documents I have written in Markdown (the variant Pando= c defaults to) I find that I in a few cases want to include some blank line= s before a new paragraph. >>>> Is there a way to do this easily when writing in Markdown? >>>>=20 >>>> Thanks >>>>=20 >>>> Best regards Thomas=20 >>>>=20 >>>> --=20 >>>> You received this message because you are subscribed to the Google Gro= ups "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/m= sgid/pandoc-discuss/A1998CCA-188A-4553-BF5C-5CFD5D44AADD%40coolfortheblind.= dk. >>>=20 >>> --=20 >>> You received this message because you are subscribed to the Google Grou= ps "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/ms= gid/pandoc-discuss/YYetGzBODfdjyAcC%40localhost. >>=20 >> --=20 >> You received this message because you are subscribed to the Google Group= s "pandoc-discuss" group. >> To unsubscribe from this group and stop receiving emails from it, send a= n email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To view this discussion on the web visit https://groups.google.com/d/msg= id/pandoc-discuss/3B3F5A70-0DF9-4D74-B8AC-0CDD03E46388%40coolfortheblind.dk= . >=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/YdWZKXIbH6G7pBnQ%40localhost. --=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/4FF46680-CC8E-40B1-83B2-F9D6F7D219E4%40coolfortheblind.dk.