GraphContent: support strikethrough

This commit is contained in:
Liam Fitzgerald 2021-05-19 14:37:38 +10:00
parent e71d6773a7
commit f8c8033ea2
No known key found for this signature in database
GPG Key ID: D390E12C61D1CFFB

View File

@ -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) {