interactive icon indicating copy to clipboard operation
interactive copied to clipboard

Markdown cell does not format code blocks

Open chaosdinosaur opened this issue 2 years ago • 1 comments

Describe the bug

In the markdown cell blocks when attempting to add a code block, the formatting of the code does not match the way it is in a traditional markdown document. This makes the markdown less readable.

Markdown document (.md) example: image

Notebook markdown cell example: image

You can see that there is a very clear distinction in the code block on the markdown document vs the notebook.

Please complete the following:

Which version of .NET Interactive are you using? (In a notebook, run the #!about magic command. ): 1.0.461101

  • OS
    • [x] Windows 11
    • [ ] Windows 10
    • [ ] macOS
    • [ ] Linux (Please specify distro)
    • [ ] iOS
    • [ ] Android
  • Browser
    • [ ] Chrome
    • [x] Edge
    • [ ] Firefox
    • [ ] Safari
  • Frontend
    • [ ] Jupyter Notebook
    • [ ] Jupyter Lab
    • [ ] nteract
    • [x] Visual Studio Code
    • [ ] Visual Studio Code Insiders
    • [ ] Visual Studio
    • [ ] Other (please specify)

Screenshots

If applicable, add screenshots to help explain your problem.

chaosdinosaur avatar Jan 04 '24 21:01 chaosdinosaur

@rebornix I think this is just a style difference, what do you think?

colombod avatar Jan 19 '24 13:01 colombod