heya_baru: (Default)
heya_baru ([personal profile] heya_baru) wrote in [community profile] newcomers2024-10-16 06:17 pm

For the cohost folks: moving your markdown formatted posts over

So, for any of my fellow Cohosters, you probably have an archive (or in my case, a git repo...) of Cohost posts that you want to re-upload here, in which case, those posts are probably in markdown format.

I've learned through trial-and-error that there's two ways to deal with this:

1) For the more tech-savvy, use a command-line tool like pandoc. This is how I re-uploaded my stories on Dreamwidth.

Using pandoc to turn Markdown into HTML that you can just copy-and-paste into DW is pretty simple:

pandoc Skykomish_Never_sleeps.md -o Skykomish_Never_sleeps.html

2) As this docs page states, you can place a !markdown directive a the beginning of the entry, and then proceed to just write markdown.

ysabetwordsmith: Cartoon of me in Wordsmith persona (Default)

Thank you!

[personal profile] ysabetwordsmith 2024-10-17 02:59 am (UTC)(link)
This is great. I really appreciate you sharing it here.

I've added tags for Markdown and HTML so folks can find the coding stuff.
tropicsbear: Tadashi carrying Ainosuke bridal style (Default)

[personal profile] tropicsbear 2024-10-17 03:38 am (UTC)(link)

You can also turn on the beta for new entries page. Once you do that, there'll be a dropdown menu that lets you choose if your entry is formatted in HTML, Markdown, etc.

tropicsbear: Tadashi carrying Ainosuke bridal style (Default)

[personal profile] tropicsbear 2024-10-17 10:14 am (UTC)(link)

ngl I had to get to the beta features page via Google 😆 the mobile version of the homepage had me stumped.