Convert markdown to destination-specific output

Converts markdown to HTML optimized for a specific destination (Google Docs, Word, Slack, OneNote, Email, or plain text). Does not save the document. Use this when you need formatted output for pasting into other applications.

post/convert

Request

  • Base URL: https://api.unmarkdown.com/v1
  • URL: https://api.unmarkdown.com/v1/convert
  • Auth: HTTP bearer

Request body

markdownstring required

Markdown content to convert (max 100KB)

destination'google-docs' | 'email' | 'word' | 'slack' | 'onenote' | 'plain-text' | 'generic' | 'html'

Target format for the conversion output

template_idstring

Template ID to apply for styling

theme_mode'light' | 'dark'

Response

Conversion successful

htmlstring
plain_textstring
destinationstring
template_idstring
theme_modestring

Changes

No recorded changes to this operation across all 1 revision of this API.