How to upload markdown via JavaScript SDK?

Hi there,

I have been following your documentation on uploading posts via the javascript client library. I have gotten the HTML example to work, but I am wondering if it is possible to upload markdown?

I have some markdown articles that I would like to upload and I do not want to first convert them to HTML. Any advice is appreciated!


1 Like

Is the issue is that you don’t want to do the conversion or that it’s important to you to keep the content in Markdown?

I didn’t want to do the conversion, but it looks like maybe that is easy to do with showdown. I am trying to make an importer to Ghost from Gdocs using Apps scripts for my team to use - copy and pasting doesn’t format e.g. inline code so we have to go back and delete a backtick and then re enter it for the Ghost editor to format it as code.