cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
We want to hear from you. What do you use Dropbox for?
Close

Dropbox files & folders

Get in sync with the Dropbox Community. Our members can answer all your questions on Dropbox files and folders. Join a discussion or start your own today.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted

Paper's markdown export does not add new lines after headings

Explorer | Level 3

Repro:

 

* Create a document with headers of various sizes. Example: https://paper.dropbox.com/doc/Heading-1--AzyT0uirpi4QxYb_nyvxpj4PAg-ZQMtWF42y44Xu2rLhILLz

* Export to markdown

* The result is markdown which does not have newlines after the headers (the output violates the MD022 markdown lint rule: https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md022---headings-should-be-surro...)

 

Example output (for the link above):

 

# Heading 1
some text after heading 1 (no newline before this line)

 

## Heading 2

 

some text after heading 2 (newline before this line, but not after)
**Heading 3**
some text after heading 3 (no newline before this line)

 

1 Accepted Solution

Accepted Solutions
Highlighted

Re: Paper's markdown export does not add new lines after headings

Dropboxer
Dropboxer

Hi @rolfbjarne, thanks for messaging the Community!

 

In your Paper document, it looks like you’re not using heading 1, since this is the title of the document, and not a heading within the doc itself.

 

Could you try using a separate line in the doc for heading 1 to see if you get the same behavior?

 

Heading 3 is also using the bold function, so isn’t technically heading 3. The ### is the same as ** for bold text in Paper currently, so there wouldn’t be a new line afterwards since heading 3 isn’t officially implemented.

 

Keep me posted!


Jay
Community Moderator @ Dropbox
https://dropbox.com/support


Heart Did this post help you? If so, please give it a Like below.
Still stuck? Ask me a question!
Tips & Tricks Find new ways to stay in flow or share your tips on how you work smarter with Dropbox.

View solution in original post

3 Replies 3
Highlighted

Re: Paper's markdown export does not add new lines after headings

Dropboxer
Dropboxer

Hi @rolfbjarne, thanks for messaging the Community!

 

In your Paper document, it looks like you’re not using heading 1, since this is the title of the document, and not a heading within the doc itself.

 

Could you try using a separate line in the doc for heading 1 to see if you get the same behavior?

 

Heading 3 is also using the bold function, so isn’t technically heading 3. The ### is the same as ** for bold text in Paper currently, so there wouldn’t be a new line afterwards since heading 3 isn’t officially implemented.

 

Keep me posted!


Jay
Community Moderator @ Dropbox
https://dropbox.com/support


Heart Did this post help you? If so, please give it a Like below.
Still stuck? Ask me a question!
Tips & Tricks Find new ways to stay in flow or share your tips on how you work smarter with Dropbox.

View solution in original post

Highlighted

Re: Paper's markdown export does not add new lines after headings

Explorer | Level 3

Yes, you're right, adding a heading 1 after the title works.

 

That said, I think there should still be a newline after the title.

Highlighted

Re: Paper's markdown export does not add new lines after headings

Dropboxer
Dropboxer

Gald to hear that it works on your docs, @rolfbjarne.

 

Regarding the newline, if you wish, you can suggest this change for others to vote on, so the dev team can look into this in future! 


Jay
Community Moderator @ Dropbox
https://dropbox.com/support


Heart Did this post help you? If so, please give it a Like below.
Still stuck? Ask me a question!
Tips & Tricks Find new ways to stay in flow or share your tips on how you work smarter with Dropbox.

Polls
Do you know how to organize your files and folders?
<b>We have created a guide on folder best practice, so you can get organized now <a href="https://www.dropboxforum.com/t5/Business-Tips-tricks/Folder-structure-best-practice/m-p/428456#M39"><u>check it out here</u></a>.</b>

Work Smarter with Dropbox

The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.

Sound good? Let's get started.
Who's talking

Top contributors to this post

What do Dropbox user levels mean?
Need more support?