diff --git a/src/index.html b/src/index.html index e751f38..b9ead33 100644 --- a/src/index.html +++ b/src/index.html @@ -180,6 +180,13 @@ }, ]; + let exampleCustomDirectives = [ + { + target: "bold", + transform: (_, data) => `${data.body}`, + }, + ]; + let exampleTransforms = [ { // Other repo issue links @@ -247,6 +254,7 @@ color, }, customRoles: exampleCustomRoles, + customDirectives: exampleCustomDirectives, includeButtons: defaultButtons.concat([ { text: "Custom button",