How to Convert Obsidian Markdown to Medium Blog

Write Notes in Obsidian Using Markdown and Publish Them to Medium.

Amy Li
4 min readOct 2, 2022

--

Image created by Amy Li using Canva.

As a Medium blogger, as well as a heavy markdown user (preferring markdown to a rich text editor), one of my frustrations, is how to easily use the markdown note in the Obsidian to Medium editor. Direct copy and paste don’t work and you have to manually correct the format simply because the Medium editor doesn’t support Markdown language, up to this moment. This article will introduce you to two approaches to this problem.

Approach #1: Using Existing Tools to Convert `markdown` to `html`

Tools like markdown-to-medium-tool are purposed to convert Markdown format to outputs HTML formatted in a way compatible with the Medium editor.

Let me walk you through how to use markdown-to-medium-tool:
1. run it locally:

Writing markdown in the left editor with output preview on the right side (GIF by Amy Li)

2. Or go to its hosted website: https://markdown-to-medium.surge.sh/

Writing markdown in the left editor with output preview on the right side (GIF by Amy Li)

Simply copy the generated outputs from the right panel into the Medium editor. Then you’re good to go.

For sure, if you happen to be a coder, then it’s never a bad idea to build some better digital solutions in your spare time. And I personally will keep sharing my mini projects.

Approach #2: Using a Plugin Built for Obsidian — ‘Copy as HTML’

Install and enable the community plugin — Copy as HTML which converts the selected markdown content to HTML and copies it to the clipboard. The huge benefit of using a plugin inside built for Obsidian is allowing us to stay inside Obsidian to help us concentrate on our work.

--

--

Amy Li

Software Developer | Ph.D. in Medicine. I write about programming, productivity, personal development, and entrepreneurship. https://www.youtube.com/@amyjuanli