From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/29905 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Bastien DUMONT Newsgroups: gmane.text.pandoc Subject: Re: Inserting blank lines into a document using Markdown Date: Wed, 5 Jan 2022 21:18:27 +0000 Message-ID: References: <3B3F5A70-0DF9-4D74-B8AC-0CDD03E46388@coolfortheblind.dk> <4FF46680-CC8E-40B1-83B2-F9D6F7D219E4@coolfortheblind.dk> 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="33414"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDCINCES2QJRBHUX3CHAMGQE6OIJY6I-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Jan 05 22:20:33 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-lj1-f189.google.com ([209.85.208.189]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1n5Dhx-0008Su-BW for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 05 Jan 2022 22:20:33 +0100 Original-Received: by mail-lj1-f189.google.com with SMTP id a13-20020a05651c210d00b0022e1dc44d53sf271082ljq.17 for ; Wed, 05 Jan 2022 13:20:33 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1641417632; cv=pass; d=google.com; s=arc-20160816; b=yxwHocaE0cRKcoAqEjPIyTHWL/hAZFx10aBYubUy/RE6qOgnl8HE9V/s4psN248VGl Wpr+9ORw4pehoVk4LX2WJJCJnKeIVp4pxNqL2hBiciRU8vTz8rYueR/SNCIdpjFzs1gV Qy4ylX3cxLsJc8WEmW1Cuu/dxhvijGlOvuuJpzDE08FglzNR340oMvEW4m4BXW8P1mQ/ NwWxchBA7emgjOPFq7Halg5eKuHc+HH3+qsqXoHcIYavQcvQVCOmdjXUklNBrBb1JQl9 4aVgqiceY+q56lvwB3ZqzeIcvKkWzlM/Lpcc4kBu87Z7b2jpQGLAasW9ARyjI0Y74xob aE+A== 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=0sdb5y+1W6ulncZJPPWeiTpbUVBx4SSQ6tafoqm+fIQ=; b=CwDQkWOdd6ctGnGGr+5qsKGsSBBpmXUvNxcPW7YxXDTfpKPybPIeSCHdK7Og6xMys1 mia5NuNqCcN93idyGQ8OVUXM7RGCuPFWvsW3V88Uo4eiw6kxKnj6hMQh3r/r8t8GrBeH rRsdu/OsOeAH6Gs3DS4rM6PAwVG6oMpTPZtU5T+uoGcnQY3WzJm2Ig1wc+mDbE7s5gwE Fa1m4LHh4BkAfKwZZrhOX+y82sQYaIz3cLj/RmAm/gC72x+7AUJACRw85sqvi+pD1QZ+ 3QwH0OP8dAw0rRV00crt07GxOqmSlo5Ouqqd8HhUp+ikrBRPIyPYvpCamceRH5hJSlcP r3cA== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=HtvaFjWT; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.66 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=0sdb5y+1W6ulncZJPPWeiTpbUVBx4SSQ6tafoqm+fIQ=; b=YIJyuSo6CSf5k/Iw77wlEnGf/UdAT6Bi7DibudA1bkywHySU0pFwmy5uwcfcH8T1UE DWkGi2poUfz9T3nOg+jKQLWvSYSQ7rZUixRUOxdff6MpoSc865X4ouxSUw8BublyNh4i rk5HwUVGWNBrM6n6JtE2o9OnAEXTMzUIKg6RtXHOex38y/9K4gOKv/X8u9cGJHn90T6s cylpMsYVXyVEPYexBcRMkBRZL0pS42z1L3xLSwOLW9YoPmdngKvAnKllTnjpiEpjN9IY nvBXvUg/taSDSwfPQ601AplBGtINaOpJgUHAMyYUq1GS4MKVWHg0bwPjwYvLofj3Wlg2 fThQ== 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=0sdb5y+1W6ulncZJPPWeiTpbUVBx4SSQ6tafoqm+fIQ=; b=fheTLSHN7jkhorEk70j27Hn8494rFxK5wEQ0773+7egtiRnipHfi9TZA9XuN1yVoZU Wf4ScyqXmJMRyCqcs88l0XppvUFPq6he1lkRGowFw9XWYhB+xBGJ5atv96/YXpvVEBcI ayfYI3XU7FnTjmVoM2atpbmPyMfaSPMZI0eeTJljnACtvtXTIc39arxJrAaJKJJbaxD8 MFw88AuiqTbV/heLnFtrM3BJfQCzT4wmFWzMc1BpSOX9ecWl1we7CCGWXtE+Lbx4YQ0A D0PngutTX6FR8zhIFi8Vq/dSWZVMIbtzFN0zvhy4fG6S Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM5325vXTfuor60Khm5hERqPpZPjdiYs0r31n/7vb2QzcWdQzKBEgn vJ0FxQFntN++D9cXtpJi0C4= X-Google-Smtp-Source: ABdhPJxDcujZf1V+qqob0xT7TyKiPcDxcYUHxaL6tpuGnIq1WS3Z1WFN+D1FqW8JBsOiYkK6TpJQbA== X-Received: by 2002:ac2:4c51:: with SMTP id o17mr45005654lfk.558.1641417632288; Wed, 05 Jan 2022 13:20:32 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a2e:5c7:: with SMTP id 190ls11117ljf.5.gmail; Wed, 05 Jan 2022 13:20:29 -0800 (PST) X-Received: by 2002:a2e:81d3:: with SMTP id s19mr45460761ljg.240.1641417629757; Wed, 05 Jan 2022 13:20:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1641417629; cv=none; d=google.com; s=arc-20160816; b=oVJzClCMM2flS+M6muu1OsiI8X2VFKlHbjEtBuNvV2nNjRyUSUTG1hzgyT+CBnoYVv BNaykYG0W4K7w2mbdTU5gHG1BKBn8hGaYfi5l0bNf7/cCDC7tn2IEj8gdaQmod7rBIWb 96UPBg3JCEzuxemmnBoBgqfxsiVXBcmsJn6JXq1X43aTJ5djs4DzxfahY8espq5Epr7v NArAwTzaQGxszOQtZP6OZ93yR8YRsA4P6hEnhnJeJouvtDTqF3gXkSl4kT15YGBFhM9Y eHbTC232mt9Q8ABoWHP1J5LhDfQigoqAwyExpEV1gmWeK9GZGeqO3ymIo+td+mGMR68h nuMg== 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=GaZF8Jfe06gjlN4FAbgFILRF2OCgasTcNp4ZZn/o2Yk=; b=kLe4kKbdIFR0T4P6UIdQDinCbUAlIIiwdgXci4HRw7eaCmJxbL4STL7vk8BJFBHTeH Vzm6TqQnAoQN54pDCU0Oz5rb2t1anjwlo09SisxH/UvqwwAhXmQIOmP9GxP5afcOCaN7 fojIMq9bBwTShGr8+s5v1OKVu9AiTgbjI0K3ruq/PysUdEWtQ/ghJPYlPhxcXaRypuB9 z0b9iB3vAl9daJ53qKmXnGuwezm/QEGgfAYHAfE0uu7LP/bsexyY1Z1Ml2WHPT5/2nEn raDh0xHezeuw14Sxqus09NaZxTSA8aaCRqVmVy/3gd3cV43wZ9wQ2X9B10TsBc0NdPcm EJQg== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=HtvaFjWT; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.66 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 mout02.posteo.de (mout02.posteo.de. [185.67.36.66]) by gmr-mx.google.com with ESMTPS id x32si1543lfu.8.2022.01.05.13.20.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jan 2022 13:20:29 -0800 (PST) Received-SPF: pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.66 as permitted sender) client-ip=185.67.36.66; Original-Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 026FF240105 for ; Wed, 5 Jan 2022 22:20:29 +0100 (CET) Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4JTj7c4bVxz9rxB for ; Wed, 5 Jan 2022 22:20:28 +0100 (CET) Content-Disposition: inline In-Reply-To: <4FF46680-CC8E-40B1-83B2-F9D6F7D219E4-AHfMSizzl90sTMJHDOTzqX9LOBIZ5rWg@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=HtvaFjWT; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.66 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:29905 Archived-At: Sorry, I just tried with pandoc 2.16.2 and it worked as expected... Maybe y= ou could share you exact input and output files restricted to this minimal = example? Le Wednesday 05 January 2022 =C3=A0 08:49:54PM, Thomas Byskov Dalgaard a = =C3=A9crit : > Hi Bastien! >=20 > Here is the result from 2.16.2 converted from Markdown to docx: >=20 > This is a paragraph. After it, a blank line will be inserted. > =E2=80=A8This is the following paragraph. >=20 > I see a strange character there where the blank line should have ben inse= rted. >=20 > I use Markdown quite extensively when using Braille, the way blind and vi= sually impaired people read with their fingers. > I have a braille display connected to my computer and therefor I can get = nice results via Markdown, I use Pandoc for converting documents when I nee= d 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? >=20 > 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.= If 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 = blank line: this indicates a paragraph containing a line break, so you will= end up with two blank lines in the output. Instead, write the backslash on= the 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 Markdow= n. > >>=20 > >> The following worked: > >>=20 > >> ~~~ > >> This is the first paragraph. After this sentence there is inserted a b= lank 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 = from Markdown to docx-files. It looks like the escaped linebreak does somet= hing unexpected. > >>=20 > >> I also noticed that If I want to insert a heading I can't get blank li= nes 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 p= aragraph: > >>>=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 crite= ria, 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 Pan= doc defaults to) I find that I in a few cases want to include some blank li= nes 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 G= roups "pandoc-discuss" group. > >>>> To unsubscribe from this group and stop receiving emails from it, se= nd 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/A1998CCA-188A-4553-BF5C-5CFD5D44AADD%40coolfortheblin= d.dk. > >>>=20 > >>> --=20 > >>> You received this message because you are subscribed to the Google Gr= oups "pandoc-discuss" group. > >>> To unsubscribe from this group and stop receiving emails from it, sen= d 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/YYetGzBODfdjyAcC%40localhost. > >>=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/3B3F5A70-0DF9-4D74-B8AC-0CDD03E46388%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/YdWZKXIbH6G7pBnQ%40localhost. >=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/4FF46680-CC8E-40B1-83B2-F9D6F7D219E4%40coolfortheblind.dk. --=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/YdYLI8gO7cfQ431K%40localhost.