We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74a72ae commit 82c8023Copy full SHA for 82c8023
ghcide/src/Development/IDE/Spans/Common.hs
@@ -191,9 +191,9 @@ haddockToMarkdown (H.DocDefList things)
191
= '\n' : (unlines $ map (\(term, defn) -> "+ **" ++ haddockToMarkdown term ++ "**: " ++ haddockToMarkdown defn) things)
192
193
haddockToMarkdown (H.DocMathInline s)
194
- = "$" ++ s ++ "$"
+ = "`" ++ s ++ "`"
195
haddockToMarkdown (H.DocMathDisplay s)
196
- = "\n$$\n" ++ s ++ "\n$$\n"
+ = "\n```latex\n" ++ s ++ "\n```\n"
197
198
-- TODO: render tables
199
haddockToMarkdown (H.DocTable _t)
0 commit comments