About slate-md-serializer converts Markdown to Slate document or vice verse. A markdown file is first converted to abstract syntax tree (AST) using remark.js. It is then translated to Slate document.