summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bridge/helper/helper.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/helper/helper.go b/bridge/helper/helper.go
index 2b449e14..cbb319ac 100644
--- a/bridge/helper/helper.go
+++ b/bridge/helper/helper.go
@@ -183,7 +183,7 @@ func ClipMessage(text string, length int) string {
// ParseMarkdown takes in an input string as markdown and parses it to html
func ParseMarkdown(input string) string {
- extensions := parser.HardLineBreak | parser.NoIntraEmphasis
+ extensions := parser.HardLineBreak | parser.NoIntraEmphasis | parser.FencedCode
markdownParser := parser.NewWithExtensions(extensions)
renderer := html.NewRenderer(html.RendererOptions{
Flags: 0,