UNPKG

@atlaskit/adf-utils

Version:

Set of utilities to traverse, modify and create ADF documents.

6 lines 151 B
import { applyMark } from '../utils/apply-mark'; export var code = function code(maybeNode) { return applyMark({ type: 'code' }, maybeNode); };