[](https://badge.fury.io/js/slate-md-serializer) [](https://circleci.com/gh/tommoor/slate-md-serializer)
npm install slate-md-serializer 
A Markdown serializer for the Slate Editor. Requires Slate 0.32+.
This serializer supports the following Slate marks:
``javascript`
function renderMark(props) {
switch (props.mark.type) {
case 'bold':
return {props.children};
case 'code':
return {props.children};
case 'italic':
return {props.children};
case 'underlined':
return {props.children};
case 'deleted':
return {props.children};
case 'added':
return {props.children};
default:
}
}
This serializer supports the following Slate node keys:
`javascript
function renderNode(props) {
const { attributes } = props;
switch (props.node.type) {
case 'paragraph':
return
case 'block-quote':
return
{props.children};
{props.children};