We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 82431aa commit 7c0a8b4Copy full SHA for 7c0a8b4
1 file changed
src/options/default-node-options.ts
@@ -13,8 +13,8 @@ export const defaultNodeOption: RenderOption = {
13
[NodeType.LINK]:(node: Node, next: Next) => {
14
return `<a>${next(node.children)}</a>`
15
},
16
- [NodeType.LINK]:(node: Node, next: Next) => {
17
- return `<a>${next(node.children)}</a>`
+ [NodeType.IMAGE]:(node: Node, next: Next) => {
+ return `<img src="" />${next(node.children)}`
18
19
[NodeType.EMBED]:(node: Node, next: Next) => {
20
return `<iframe>${next(node.children)}</iframe>`
0 commit comments