cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Great and all as it is to hear how we use Dropbox, we want to know how you use it! Day to day, big projects, sharing files with friends and family - we want to know about it.

View, download, and export

Need support with viewing, downloading, and exporting files and folders from your Dropbox account? Find help from the Dropbox Community.

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

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

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

rolfbjarne
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

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

Jay
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
dropbox.com/support


Heart Did this post help you? If so, give it a Like below to let us know.
:arrows_counterclockwise: Need help with something else? Ask me a question!
:pushpin: Find Tips & Tricks Discover more ways to use Dropbox here!

View solution in original post

3 Replies 3

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

Jay
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
dropbox.com/support


Heart Did this post help you? If so, give it a Like below to let us know.
:arrows_counterclockwise: Need help with something else? Ask me a question!
:pushpin: Find Tips & Tricks Discover more ways to use Dropbox here!

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

rolfbjarne
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.

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

Jay
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
dropbox.com/support


Heart Did this post help you? If so, give it a Like below to let us know.
:arrows_counterclockwise: Need help with something else? Ask me a question!
:pushpin: Find Tips & Tricks Discover more ways to use Dropbox here!

Who's talking

Top contributors to this post

  • User avatar
    Jay Dropboxer
  • User avatar
    rolfbjarne Explorer | Level 3
What do Dropbox user levels mean?
Need more support?