UNPKG

@atlaskit/editor-wikimarkup-transformer

Version:

Wiki markup transformer for JIRA and Confluence

12 lines 332 B
import { inlines } from './inlines'; export var paragraph = function paragraph(node) { var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, context = _ref.context; var result = ''; node.forEach(function (n) { result += inlines(n, { context: context }); }); return result; };