We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4decb4 commit f732ca2Copy full SHA for f732ca2
src/options/default-node-options.ts
@@ -0,0 +1,8 @@
1
+import { RenderOption } from ".";
2
+import NodeType from "../nodes/node-type";
3
+
4
+export const defaultNodeOption: RenderOption = {
5
+ 'p':({metadata}) {
6
+ `<p ${metadata.atts.toString()}> ${metadata.text} </p>`
7
+ }
8
+}
0 commit comments