# slate-md-serializer
**Repository Path**: zzcwzhang/slate-md-serializer
## Basic Information
- **Project Name**: slate-md-serializer
- **Description**: A Markdown serializer for the Slate editor framework
- **Primary Language**: JavaScript
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2020-05-21
- **Last Updated**: 2020-12-19
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
[](https://badge.fury.io/js/slate-md-serializer) [](https://circleci.com/gh/tommoor/slate-md-serializer)
# Slate Markdown Serializer
A Markdown serializer for the [Slate Editor](http://slatejs.org). Requires Slate 0.32+.
## renderMark
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:
}
}
```
## renderNode
This serializer supports the following Slate node keys:
```javascript
function renderNode(props) {
const { attributes } = props;
switch (props.node.type) {
case 'paragraph':
return
{props.children}; case 'bulleted-list': return
{props.children}
;
case 'image':
return