Open sasja-san opened 3 months ago
It works just fine assuming you are using the proper code cell language and the proper inline comment syntax.
Input | Output |
---|---|
````qmd --- format: html: code-annotations: true --- ```{.haskell} fact :: Int -> Int -- <1> fact n = n * (fact (n-1)) -- <2> ``` 1. aueo 2. htns ```` |
For the future, prefer opening a discussion rather than an issue. Thanks.
Lol so I had to match up {.haskell}
with --
?
Well, at least there's an inconsistency here: When I do this for C it works with long comment syntax. How was I supposed to know what works? I searched the Quarto site and only found this: https://quarto.org/docs/output-formats/all-formats.html#more-formats and the Code Annotation page didn't say much about languages either.
I think this is simply that we're missing the multiline comment syntax for Haskell.
Bug description
Code annotations won't appear for haskell.
Here's how it looks in the document I'm working on.
Quarto check output
Using latest git version. All modules OK except R installation (None).