UNPKG

@atlaskit/editor-wikimarkup-transformer

Version:

Wiki markup transformer for JIRA and Confluence

9 lines (8 loc) 267 B
import { baseMarkPattern } from './__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* ` */ export var strong = function strong(text) { return baseMarkPattern(text, '*'); };