/**
* This will return ADF to replace the titles in some macro
* For example
* {panel:title}aaa{panel}
*/export function title(text, schema){
const mark = schema.marks.strong.create();
const title = schema.text(text, [mark]);
return schema.nodes.paragraph.createChecked({}, [title]);
}