UNPKG

@atlaskit/editor-wikimarkup-transformer

Version:

Wiki markup transformer for JIRA and Confluence

14 lines (13 loc) 381 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.strong = void 0; var _base = require("./__base"); /** * For text that has leading and ending space. We don't want to * convert it to `*strong *. Instead, we need it to be `*strong* ` */ var strong = exports.strong = function strong(text) { return (0, _base.baseMarkPattern)(text, '*'); };