@atlaskit/editor-wikimarkup-transformer
Version:
Wiki markup transformer for JIRA and Confluence
12 lines • 328 B
JavaScript
import { inlines } from './inlines';
export var caption = function caption(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;
};