UNPKG

@atlaskit/editor-wikimarkup-transformer

Version:

Wiki markup transformer for JIRA and Confluence

18 lines (17 loc) 459 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.caption = void 0; var _inlines = require("./inlines"); var caption = exports.caption = function caption(node) { var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, context = _ref.context; var result = ''; node.forEach(function (n) { result += (0, _inlines.inlines)(n, { context: context }); }); return result; };