From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/29901 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 13:12:09 +0000 Message-ID: References: <3B3F5A70-0DF9-4D74-B8AC-0CDD03E46388@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="3294"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDCINCES2QJRBBNT22HAMGQEX2TIE7Y-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Jan 05 14:13:44 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ed1-f64.google.com ([209.85.208.64]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1n566p-0000fR-SI for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 05 Jan 2022 14:13:43 +0100 Original-Received: by mail-ed1-f64.google.com with SMTP id z3-20020a05640240c300b003f9154816ffsf18736872edb.9 for ; Wed, 05 Jan 2022 05:13:43 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1641388423; cv=pass; d=google.com; s=arc-20160816; b=oyia66mBbTcuxgPXaNaCKAbYZgBGzN5wWVSskqE8zJvcWbK4Gug8KK8Z24dQMzpvkN ctn1rmxw/RSK0UuGK1ftmcX/ncHPScLgnr8crhkgkAYFPJi6HhILXYoA/Kw+ueFuWube 6wrotLnFj43C7i48SkrXHm2TY7tEWiejPmk8YLqFa4YgRggsrWrn3e5nmB2T26tlwSTz gUK0KKaGw3Y+ZvcNH82SbfKUosIuXXAppifIMHoKFnQclU5/lQ3/NF7yWgTGINSxdBdV 9qSF4mWb9Ocfv5/AItfLFIjrrQYXUMannupspL0ftbaFrLayXxlRlwXClC4fLAg83sZm lbfg== 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=kLp5eEKg5GW0w2mx3E4oY06eB7ODKIeP1RqZNcoq1WY=; b=G4ypxUg95OGEMVoUQDEE4B+q+49MVFuNjeEFRjHDEao7DCqbY/Tw080V5B8DuRfeLQ 7nXwVyKF2lxOqiPJCU5sNJJOtvjQyu2lYIb+GYFIixW6F0ZUu8ONPchjKRDwIb4rzlhQ u8HeSfdy3FEe751vn1lWfvquqSdVRBN+GraNwrNbJs3ywBB+2QbirAjxO9o8OoZOPh+E sUKiefxgA5ArMg8KicilZboXWVb35SvNIeegT7wFz33x65NUFwaSAz7Yh9+76VdMzU5n uHT7SRdo2A6wMy6T/iNMPeRTIPoFhOMmSN9FUGKBf6Xhp1hMobUaghrs166HIy5qmp3C 6ZGA== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=H1MHx6rM; 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=kLp5eEKg5GW0w2mx3E4oY06eB7ODKIeP1RqZNcoq1WY=; b=B7BG40UKu01tonB2Blz8EUxC7J56wQ779jYWDOpdpDzL829CwBhSHPju/etDO/CBoJ Azkc2dVVb+tiL73SJdaOzIfvuSBar3A8ez4yxvI/zxawN+X/SMlxXjvdrQAAg+IQJGRT /eYc6RsxWfFAEUpAVY7kpmygVMEbfApFvZv4rS9UDO6qiRjuOblWYvXZKRZrGYWYRQRa qQdSoWHaTvTZfdCw/HDcfEgbj5JrNdULvR2HgACwpC6E/PriAS9DM6fl0O04HK/j4t0+ JGAEjSaR/ceTVcIIkHKsq1BZnZ5QkHJ6VR1VTgx2s06CWZZeoYSEu8yhfjRXEwxQut+d UQ8g== 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=kLp5eEKg5GW0w2mx3E4oY06eB7ODKIeP1RqZNcoq1WY=; b=aipyrYL0yDL5L2MNG6Rahi3HxnOGMq0FpCcultFYr5tKg8RFSFtOzbnx8GM5GwgycI GYa/UHeGLVMrM1amuHmawsAOKQeoyj99LemEkWDpkRCP6iRRtc8FyEtHL0qftVKUA5UZ /S6RRLKHhD9F2a4BHEykAuCPpEJjGJQ6TlDxK1aVvNuA0jB5giNBws5r8U3TqlNOyTYi guHtqQ1odFvqeyZxNh4HQv4vO6vQbHIek4UjVfnQqMcUwEGrGK3q1bl4acJqAc+bB+kA vVpZH6mqSrcH4lcUIHBUPLHfHTSbgPdXvOrlryYrWhKe Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM533AhcVsIgB2G2FlzwVDgv1bHeXskwilwGa4tOVdPVirejmRcZpD AWx/HWKvfZ3639HsVrOQmsI= X-Google-Smtp-Source: ABdhPJwP8+FTWVnotRztzU9/NPK7w4QqzQN6RN7A/2XvP5+zdM7i+48NSyQg6zkSC0Tfsf0P4NQvTQ== X-Received: by 2002:a17:906:9753:: with SMTP id o19mr42709429ejy.243.1641388422939; Wed, 05 Jan 2022 05:13:42 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a17:907:1ca6:: with SMTP id nb38ls11866710ejc.5.gmail; Wed, 05 Jan 2022 05:13:40 -0800 (PST) X-Received: by 2002:a17:907:3d94:: with SMTP id he20mr41418309ejc.14.1641388420610; Wed, 05 Jan 2022 05:13:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1641388420; cv=none; d=google.com; s=arc-20160816; b=NfpN+/LASY2AGmDrQzVhAqMCJ7Ey7ytWfp0cYYcY5YTJknj+7QQH1zPXOhjvQ1HGvO z1s90paJ2WuUeNGtAoSu6hX15DGMZl/YAzWluU7Xl6R3dlBwbLRodLokxaIuAKn84sbc 4I9uqREDzTUWnApg+nhmh+4de9qZSWpMwaFoLFe1JTWFVbN7OG2RN/l21RB/7WPsRgyY G/8SJLTITm7KuUPAtAfJK4LmHSGNInOgFmfrmQVSDLXQPDgq7MX36SwpQ/pjFSUHQIHL EZrvFyq2qPvrM47IkqvCmwDKgSlt7oBCJkDEJ7ok0PNsjHg40s93HIOjvelXExIUPOFG gRJQ== 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=6BAnJQ0s2CkFAFEyn3sm/btJeLqOo60KwF2DcD0D0Dc=; b=jUwIP1hEZsDyl9Ta07IdnZyUSRk2vxz40J3ynTG7pNDHlzV+WJd82UPoCqVWOrQult p8cobppqapqVOYAAIg/Jg8d2ULCry52xRqSr7+hzJTCEVmSGHxaTEX9B+bBo5w9J9YxX DnWQXa4Vy/u8gc5c8hpPGzlm1l9s1DC2HQeT/X1xsntqkxGjzGC9hqnF/jvKNGAC4EDz f2pEZFkAMI5jf7J3m7FzxJpgcmPYBCY3yzC4o0jIzk7SL/pvSsuZBoVMVSMCsPk3jj/Q 10ThNbWTRUbtOSFAxTR94ksOOuCDrRWLD9NcwY5fmqJLZ90OVtDAawd8TaVFWPgZxyU2 e6vw== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=H1MHx6rM; 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 y24si2058875eds.4.2022.01.05.05.13.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jan 2022 05:13:40 -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 2A836240026 for ; Wed, 5 Jan 2022 14:13:40 +0100 (CET) Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4JTVKv5gGRz9rxD for ; Wed, 5 Jan 2022 14:13:39 +0100 (CET) Content-Disposition: inline In-Reply-To: <3B3F5A70-0DF9-4D74-B8AC-0CDD03E46388-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=H1MHx6rM; 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:29901 Archived-At: 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.=C2=A02.16.2, this may be a bug. Don't write the backslash between two blank lines if you want only one blan= k 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. In what cases do you want to insert some blank space before a paragraph? It= would probably be better achieved through styling. 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 blan= k 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 fro= m Markdown to docx-files. It looks like the escaped linebreak does somethin= g unexpected. >=20 > I also noticed that If I want to insert a heading I can't get blank lines= 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 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/3B3F5A70-0DF9-4D74-B8AC-0CDD03E46388%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/YdWZKXIbH6G7pBnQ%40localhost.