A tiny Node.js microservice to convert markdown to raw DraftJS content state and back.
Your own micro-markdown-converter
is one click away:
You can also deploy with a single command from the terminal (assuming you have now
installed):
now withspectrum/micro-markdown-converter
Ping /to
with raw DraftJS content state as the body, or /from
with markdown as the body, and it will be converted to the other.
git clone git@github.com:withspectrum/micro-markdown-converter.git
npm run dev
The server will then be listening at localhost:3000
.
The master
branch of this repository is what you will be deploying. To update to a new version with potential bugfixes, all you have to do is run the now
command again and change the URL you call in your app! 👌
Copyright (c) 2019 Maximilian Stoiber, licensed under the MIT license. See LICENSE.md for more information.