public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: Thomas Byskov Dalgaard <tbdlist-AHfMSizzl90sTMJHDOTzqX9LOBIZ5rWg@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: Inserting blank lines into a document using Markdown
Date: Wed, 5 Jan 2022 20:49:54 +0100	[thread overview]
Message-ID: <4FF46680-CC8E-40B1-83B2-F9D6F7D219E4@coolfortheblind.dk> (raw)
In-Reply-To: <YdWZKXIbH6G7pBnQ@localhost>

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.

This is the following paragraph.

I see a strange character there where the blank line should have ben inserted.

I use Markdown quite extensively when using Braille, the way blind and visually 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 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 
> Den 5. jan. 2022 kl. 14.12 skrev Bastien DUMONT <bastien.dumont-VwIFZPTo/vqzQB+pC5nmwQ@public.gmane.orgt>:
> 
> 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.
> 
> 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.
> 
> 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 à 11:57:49AM, Thomas Byskov Dalgaard a écrit :
>> Hi Bastien!
>> 
>> Thanks for your idea.
>> 
>> I am a little behind on HTML 5 specs, because I mostly work in Markdown.
>> 
>> The following worked:
>> 
>> ~~~
>> This is the first paragraph. After this sentence there is inserted a blank line before the next paragraph.
>> 
>> \
>> 
>> Here starts the next paragraph.
>> ~~~
>> 
>> I noticed though that this inserts a special character when I convert from Markdown to docx-files. It looks like the escaped linebreak does something unexpected.
>> 
>> 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?
>> 
>> Best regards Thomas 
>> 
>>> Den 7. nov. 2021 kl. 11.40 skrev Bastien DUMONT <bastien.dumont@posteo.net>:
>>> 
>>> Hi,
>>> 
>>> This can be achieved by escaping the first line at the begin of the paragraph:
>>> 
>>> ```
>>> This is a paragraph. After it,
>>> a blank line will be inserted.
>>> 
>>> \
>>> This is the following paragraph.
>>> ```
>>> 
>>> However, if your inserting of a blank line follows some general criteria, there could be a better way to do this than manual insertion.
>>> 
>>> Best,
>>> 
>>> Bastien
>>> 
>>> 
>>> Le Sunday 07 November 2021 à 11:29:52AM, Thomas Byskov Dalgaard a écrit :
>>>> Hi!
>>>> 
>>>> When I render documents  I have written in Markdown (the variant Pandoc defaults to) I find that I in a few cases want to include some blank lines before a new paragraph.
>>>> Is there a way to do this easily when writing in Markdown?
>>>> 
>>>> Thanks
>>>> 
>>>> Best regards Thomas 
>>>> 
>>>> -- 
>>>> 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/A1998CCA-188A-4553-BF5C-5CFD5D44AADD%40coolfortheblind.dk.
>>> 
>>> -- 
>>> 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/YYetGzBODfdjyAcC%40localhost.
>> 
>> -- 
>> 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/3B3F5A70-0DF9-4D74-B8AC-0CDD03E46388%40coolfortheblind.dk.
> 
> -- 
> 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/YdWZKXIbH6G7pBnQ%40localhost.

-- 
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/4FF46680-CC8E-40B1-83B2-F9D6F7D219E4%40coolfortheblind.dk.


  reply	other threads:[~2022-01-05 19:49 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-07 10:29 Thomas Byskov Dalgaard
     [not found] ` <A1998CCA-188A-4553-BF5C-5CFD5D44AADD-AHfMSizzl90sTMJHDOTzqX9LOBIZ5rWg@public.gmane.org>
2021-11-07 10:40   ` Bastien DUMONT
2021-11-07 15:51     ` Thomas Byskov Dalgaard
     [not found]       ` <18ED2596-53FC-44FF-A62B-4CF4ECFDAB84-AHfMSizzl90sTMJHDOTzqX9LOBIZ5rWg@public.gmane.org>
2021-11-07 22:50         ` Bastien DUMONT
2022-01-05 10:57     ` Thomas Byskov Dalgaard
     [not found]       ` <3B3F5A70-0DF9-4D74-B8AC-0CDD03E46388-AHfMSizzl90sTMJHDOTzqX9LOBIZ5rWg@public.gmane.org>
2022-01-05 13:12         ` Bastien DUMONT
2022-01-05 19:49           ` Thomas Byskov Dalgaard [this message]
     [not found]             ` <4FF46680-CC8E-40B1-83B2-F9D6F7D219E4-AHfMSizzl90sTMJHDOTzqX9LOBIZ5rWg@public.gmane.org>
2022-01-05 21:18               ` Bastien DUMONT
2022-01-05 21:49                 ` Thomas Byskov Dalgaard
     [not found]                   ` <144A1587-D0B9-46F4-832C-6A2058F3E91F-AHfMSizzl90sTMJHDOTzqX9LOBIZ5rWg@public.gmane.org>
2022-01-06  8:31                     ` Bastien DUMONT
2022-01-11  9:48                       ` Thomas Byskov Dalgaard
     [not found]                         ` <EC9FF0CD-E797-4EDD-A326-55B53B6CA15E-AHfMSizzl90sTMJHDOTzqX9LOBIZ5rWg@public.gmane.org>
2022-01-11  9:52                           ` AW: " denis.maier-NSENcxR/0n0
     [not found]                             ` <f496f6d0b02746d6882a5459a50adf98-NSENcxR/0n0@public.gmane.org>
2022-01-11 10:33                               ` Bastien DUMONT
2022-01-11 10:52                               ` Thomas Byskov Dalgaard
     [not found]                                 ` <2152E028-0767-4D0B-93DB-85FDF10F617B-AHfMSizzl90sTMJHDOTzqX9LOBIZ5rWg@public.gmane.org>
2022-01-11 11:17                                   ` Bastien DUMONT

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FF46680-CC8E-40B1-83B2-F9D6F7D219E4@coolfortheblind.dk \
    --to=tbdlist-ahfmsizzl90stmjhdotzqx9lobiz5rwg@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).