Learn how to make the most out of the Dropbox Community here 💙. 

Forum Discussion

Xiangliang's avatar
Xiangliang
Explorer | Level 4
2 years ago
Solved

Dropbox paper not exporting the code block for markdown

I tried exporting my Dropbox paper documents as markdown files and it feels awesome. The only glitch that I see is that all the code blocks in the exported markdown file do not have the ``` surrounding them. I don't know if this is a bug or just something that markdown export is currently not supporting.

  • Hannah's avatar
    Hannah
    2 years ago

    Thanks Xiangliang, for the screenshot and sorry to jump in here.

     

    The triple backtick (aka fenced code-blocks) isn't a standard markdown extension. 

     

    Paper isn't a markdown editor per se, and at this time, exporting a Paper doc converts fenced code blocks to four-space.

     

    I hope this helps.

  • Jay's avatar
    Jay
    Icon for Dropbox Staff rankDropbox Staff

    Hi Xiangliang, thanks for bringing this to our attention.

     

    Could you attach a screenshot showing the export you're getting, while hiding an sensitive information?

     

    This will help me to assist further!