From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/29490 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: Sun, 7 Nov 2021 22:50:59 +0000 Message-ID: References: <18ED2596-53FC-44FF-A62B-4CF4ECFDAB84@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="16124"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDCINCES2QJRBQNRUGGAMGQEBOIVXVQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun Nov 07 23:52:52 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-lj1-f191.google.com ([209.85.208.191]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mjr1v-000421-P1 for gtp-pandoc-discuss@m.gmane-mx.org; Sun, 07 Nov 2021 23:52:51 +0100 Original-Received: by mail-lj1-f191.google.com with SMTP id y23-20020a2e3217000000b00218c6ede162sf814950ljy.23 for ; Sun, 07 Nov 2021 14:52:51 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1636325571; cv=pass; d=google.com; s=arc-20160816; b=ZDVHBMxCUYFupduUOZhXL/Jdv4w26iPROIpK9YGYyMkDIyqU7O+qoBXOTHy7lcHyN8 wIRlV5/O/0v8LUr6igjw0e9SfBfoG6QAQ7sVFHtD/xabiH/Y5HTJVaKBhCFMgkAVRJ4C 5vUGfCZOiiW4wApJ6WAdZ+T5yQBIg9TRINngFX07pt2fGKppV3SmU4dbQbVeE/NxVHth xi1+qsSU1sW3bsk3AMUTaWdWhQPE0sBzlOXA962Crlq2WI51lH7Uf9bBKIHp5BOI8XaJ ESV8jnWSCg8SXI6bfSSpNNMv8SRoTnZufyNmdRajIsVVHuM/2vSbF7FBeKwmCRaCMTbJ VcPA== 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=KuFhVkj3iKzPsRk/QVJvU9LSGupJe+MvqWPOKP8eYW4=; b=bQz5PILf5BEF395oiYINfhKcrRWUeOtPBfGlx8NWw2LuF3avB/0OwJIKauj8ksDjKq 838ezZwK4gr/d0szz69qvxGRNuoHS7GOOwnL0jRTq8U9thl1U/mhc5py1gkY1qou5ymK WuOjBsIEczTf5W9wyR68L1+DDFen/2cr9Def4aaGXrIWEihYBo9QHtEqe7bDiyIa1FbR w5NQTJNCE/p8m96Qio/epqSgjRucYihD72OAdKugshTsgxFnk5jtuGiq3O/kXIq63XXp whLVFcYUVRcSJJJJuZbzlOqMJ9F8oiXxnTF64/S6QWtBUBD92/SlN1xzbKaJF9vEFCn7 BS7Q== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=K+9ZU9Ks; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.65 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=KuFhVkj3iKzPsRk/QVJvU9LSGupJe+MvqWPOKP8eYW4=; b=beTjcd6JkGg8jHsMsRmtcBu+SmmlZEvrZ/WWR0/FYMY1YZM2guVnoDu0qMnM+LWyp+ OshI3UMUQurcZ5p5zZ0kHOVlbKXiWt1vDqJHCq/XrRxtpTKp+LCcH5rPlTMD57+TUjV9 60S38aNzTx0FsExgwFzusT1L7vtKa/wHPVYXC7irJEeDzUNcunEmqa/Y7YIDKa+qLwuW 0iVBWbzUsrVgZKVHnhdIzfXRw6FcvgGqqrgTzx8hZ30aPwpv9YsY+qGc2eKX9hqfkUGz /3zT7jIWPT5cqOvuzAQxkZI4ge2b0IJJ7yELfCYqD3mOlcRD6r7Xw7Z5Q3QAYqOnDJI6 NiAw== 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=KuFhVkj3iKzPsRk/QVJvU9LSGupJe+MvqWPOKP8eYW4=; b=XiOFT0Gvc37B+RL84bbzPWIByfAHjLKfh6R7Z2vK18/AP7UQkNapJL3sffl3m/khuB 4NKJwzIUVS1U9J6+kIDMGZBVxEOLBH5c+nHPcyuy6HVwcUTqgpga8PEFrkKSWFF41tBJ vGf/KvXFBxhph4Y773PX7z9rPz/iTdSI9xPpR7HC8LDT0uBqZD81OCpZqDvU7yALVi57 oNvmorqMQ4aaKsvdgBpBWrhNBWTp/DYY0Y6Qr2T9/etzQYyIC4419qh6hbFFgJraNm27 UpPZp5MULKaHA/lE/FSwMU3RFM1uB2B6a4oeT844yW23 Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM531EPF6gsd+D2EGEvaQRrT3jGAAEN2NENZ4O2ynY/1nxhetx494l 1eKbRegZzIKyYo6NxSrUw+I= X-Google-Smtp-Source: ABdhPJyBEJsrPKRqMOOuJNi2S+u81z3gQ2RbiMwG4ygFSuxY9lD/T0GHUItXkKPr9zORZ4o5OtdQUA== X-Received: by 2002:a05:6512:308f:: with SMTP id z15mr22261919lfd.335.1636325571298; Sun, 07 Nov 2021 14:52:51 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a2e:b8cb:: with SMTP id s11ls2282540ljp.8.gmail; Sun, 07 Nov 2021 14:52:48 -0800 (PST) X-Received: by 2002:a2e:a7d3:: with SMTP id x19mr50913640ljp.68.1636325568604; Sun, 07 Nov 2021 14:52:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636325568; cv=none; d=google.com; s=arc-20160816; b=IPMA+usvVDjLSaKTEATcY9K0oF1Q9l3iA2qzwlM0qE9sXSS+ribBexb1CVrjBJxsnr p4ZZfYk0czUR0hn690SCXG7loqEXFkyknldojszkH00Yc6wSZPduoKg+6KY7/dOiua9G YebXQCR+VhoQLWF+YfQEesvQ0oRQfy/yPwRSQGgSbZUM5oL0wXpxcGxMyUZb3cu8kUmo QaeqVlhX1Ntwwyq4JgTZIdZZV0uUwwlLY+tRpcU5OKORwBbysVsPDTfsH0ga3fDVibyv HIS3wS8uTAx9S2gQH9hxnrnCsuDZkV4BHPuEJ9FbmeavZehQh1AOU752+xMTR5xcNvby +HFA== 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=cpRMk630N7X2SGHRQ4M0G0L9Peb6coqXysIu8NhDNYw=; b=0n5q6bbadQrZn9l1rra+1E0S7JjPYkVTxNvlBmHbjiMWE9aHD1DZLwN/UOiaIy9S9N XCdfBTkUqXdlKOjk36YOqS6YZ18G6drwTBMRVRfl54ED5hSCsoqmItDF/ru6MlY4P8aY r4g4AbLZytQabFk9hVcgfgFd8IGonx89cnYA5XFf7+qKfEavbBspObE3cIjnJCoJDZ// /pyPLv0GnfNJRtvfm07abOQMo0CBJRGRcErTG5LSOVcq0MlgvEakVC5Zrh5hy/AakImD TfokdaztNUl0NctAWzuNT1fn1QmI/giHGLtGiLb4q+fnAj6zon8f25P1jhqk0Gx+KkbM 4tXA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=K+9ZU9Ks; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.65 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 mout01.posteo.de (mout01.posteo.de. [185.67.36.65]) by gmr-mx.google.com with ESMTPS id u19si135700ljl.5.2021.11.07.14.52.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Nov 2021 14:52:48 -0800 (PST) Received-SPF: pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.65 as permitted sender) client-ip=185.67.36.65; Original-Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id B9BEC240026 for ; Sun, 7 Nov 2021 23:52:47 +0100 (CET) Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HnTzM2Fvbz6tpS for ; Sun, 7 Nov 2021 23:52:47 +0100 (CET) Content-Disposition: inline In-Reply-To: <18ED2596-53FC-44FF-A62B-4CF4ECFDAB84-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=K+9ZU9Ks; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.65 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:29490 Archived-At: If I understand correctly the HTML reference, the
element must be in a=

since it is a phrasing content (see here: https://html.spec.whatwg.org= /multipage/dom.html#phrasing-content). This is what Pandoc does when output= ting to HTML and the reason why it ignores the (illegal)
element when = it reads your HTML sample. In any case,
can't be put directly under a= of

element as you seem to wish to do. Naturally, you could create a paragraph containing only a newline (


=

), but you would get an additional interparagraph space, that's why it = seems preferable to insert it at the beginning of the paragraph before whic= h you want to set additional space. Le Sunday 07 November 2021 =C3=A0 04:51:12PM, Thomas Byskov Dalgaard a =C3= =A9crit : > Hi Bastien! >=20 > Thanks for your idea, however there is not inserted a newline tag when I = convert from Markdown. > I wanted something like this (made it very simple in HTML) >=20 > ~~~ >

This is a paragraph. After it, a blank line will be inserted.

>
>

> This is the following paragraph.

> ~~~ >=20 > If I convert this from HTML to Markdown via Pandoc I loose the blank line= s, I wonder what small step I am missing here. >=20 > Best regards Thomas=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 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/18ED2596-53FC-44FF-A62B-4CF4ECFDAB84%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/YYhYUwv7T8QvVCh1%40localhost.