{componentType}
28 | {JSON.stringify(props, null, 2)}
33 | {description}
} 32 | {trend && ( 33 |{event.description}
} 59 |{description}
} 61 | {badges.length > 0 && ( 62 |{message}
67 |$1',
53 | )
54 |
55 | // Inline code
56 | html = html.replace(/`([^`]+)`/gim, '$1')
57 |
58 | // Blockquotes
59 | html = html.replace(/^> (.*$)/gim, '$1') 60 | 61 | // Paragraphs 62 | html = html.replace(/^\s*(\n)?(.+)/gim, (match) => 63 | /<(\/)?(h1|h2|h3|h4|h5|h6|blockquote|pre|ul|ol|li)/.test(match) ? match : '
' + match + "
", 64 | ) 65 | 66 | // Remove empty paragraphs 67 | html = html.replace(/<\/p>/gim, "") 68 | 69 | // Horizontal rule 70 | html = html.replace(/^---(\s*)?$/gim, '