mirror of
https://github.com/urbit/shrub.git
synced 2024-12-22 10:21:31 +03:00
GraphContent: support strikethrough
This commit is contained in:
parent
e71d6773a7
commit
f8c8033ea2
@ -260,14 +260,13 @@ const renderers = {
|
|||||||
);
|
);
|
||||||
},
|
},
|
||||||
strong: ({ children }) => {
|
strong: ({ children }) => {
|
||||||
return (
|
return <b>{children}</b>;
|
||||||
<b>{children}</b>
|
|
||||||
);
|
|
||||||
},
|
},
|
||||||
emphasis: ({ children }) => {
|
emphasis: ({ children }) => {
|
||||||
return (
|
return <i>{children}</i>;
|
||||||
<i>{children}</i>
|
},
|
||||||
);
|
delete: ({ children }) => {
|
||||||
|
return <del> {children}</del>;
|
||||||
},
|
},
|
||||||
blockquote: ({ children, depth, tall, ...rest }) => {
|
blockquote: ({ children, depth, tall, ...rest }) => {
|
||||||
if (depth > 1) {
|
if (depth > 1) {
|
||||||
|
Loading…
Reference in New Issue
Block a user