Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
// LICENSE : MIT
"use strict";
const { ASTNodeTypes } = require("@textlint/ast-node-types");
const exports = {
root: ASTNodeTypes.Document,
paragraph: ASTNodeTypes.Paragraph,
blockquote: ASTNodeTypes.BlockQuote,
listItem: ASTNodeTypes.ListItem,
list: ASTNodeTypes.List,
Bullet: "Bullet", // no need?
heading: ASTNodeTypes.Header,
code: ASTNodeTypes.CodeBlock,
HtmlBlock: ASTNodeTypes.HtmlBlock,
ReferenceDef: ASTNodeTypes.ReferenceDef,
thematicBreak: ASTNodeTypes.HorizontalRule,
// inline block
text: ASTNodeTypes.Str,
break: ASTNodeTypes.Break,
emphasis: ASTNodeTypes.Emphasis,
strong: ASTNodeTypes.Strong,
html: ASTNodeTypes.Html,
// LICENSE : MIT
"use strict";
const { ASTNodeTypes } = require("@textlint/ast-node-types");
const exports = {
Document: ASTNodeTypes.Document, // must
Paragraph: ASTNodeTypes.Paragraph,
// inline
Str: ASTNodeTypes.Str, // must
Break: ASTNodeTypes.Break // must
};
module.exports = exports;