Preview

Preview will appear here...

API commands for this page

Run these examples from a terminal. Replace sample values and add your bearer token where required.

Convert Markdown to HTML

curl -q -LSsf -X POST -H 'Content-Type: application/json' --data-raw '{"markdown":"# Hello"}' 'https://api.casjay.coffee/api/v1/tools/markdown/to-html'

Convert HTML to Markdown

curl -q -LSsf -X POST -H 'Content-Type: application/json' --data-raw '{"html":"<h1>Hello</h1>"}' 'https://api.casjay.coffee/api/v1/tools/markdown/to-markdown'

Preview Markdown

curl -q -LSsf -X POST -H 'Content-Type: application/json' --data-raw '{"markdown":"# Hello"}' 'https://api.casjay.coffee/api/v1/tools/markdown/preview'