Markdown editors, viewers and workflows

Vs code

Vs code has a built int markdown viewer, press CTRL+ k release then v.
You can copy paste images from the clipboard. Below the settings to change where the image gets stored:

// When pasting images we save it in a sub-folder ./file-name.asset/
{
  "markdown.copyFiles.destination": {
    "*.md": "${documentBaseName}.assets/",
    "**/*.md": "${documentBaseName}.assets/"
  },
  "markdown.copyFiles.overwriteBehavior": "nameIncrementally",
  "markdown.editor.filePaste.enabled": "always",
  "markdown-preview-enhanced.imageFolderPath": "/assets"
}

markdown-preview-enhanced Is a great extension if you'd like to export to various formats like html. Do CTRL+ k release then v, in the split view right click to find out the export options, in the extension settings you can choose to embed or not images.

Confluence

Support is very limited, don't paste markdown code directly, you should copy the rendered markdown, even so, images won't get pasted, you'd have to upload them one by one. I have not found any workaround to that issue yet, embedding images in exported html (base64) copying the html view and pasting to confluence does not work either...

Prefer converting your markdown to html and serve them from a remote server. Conversion can be done with vs code if you only have a few files, or pandoc, or you can write a small js page that converts the markdown on the client side (so that server is the strict minimum, only serving raw html)


 
Paypal donation Donate

No comments

(optional field, I won't disclose or spam but it's necessary to notify you if I respond to your comment)
All html tags except <b> and <i> will be removed from your comment. You can make links by just typing the url or mail-address.
Anti-spam question: