sagemathinc / cocalc

CoCalc: Collaborative Calculation in the Cloud
https://CoCalc.com
Other
1.17k stars 216 forks source link

markdown processing of code blocks in sagews help #3077

Open haraldschilly opened 6 years ago

haraldschilly commented 6 years ago

Look at the rendered codemirror output of find_root? in a sage worksheet. The italic (x-3) seems to indicate that there is some markdown processing going on, although the * signs are still there. This might lead to some weird formatting or even omitted text in other circumstances. (I haven't found any of that, though, hence low priority). My first guess is that 2-space indented lines should be treated just as code, and then cleanly apply syntax highlighting.

screenshot-cocalc com-2018 08 13-12-37-48

slel commented 5 years ago

When displaying the documentation of find_root in a sagews, why are the code blocks indented only by 3 spaces and not 4?