Skip to content

Markdown cell does not format code blocks #3400

@chaosdinosaur

Description

@chaosdinosaur

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
    • Windows 11
    • Windows 10
    • macOS
    • Linux (Please specify distro)
    • iOS
    • Android
  • Browser
    • Chrome
    • Edge
    • Firefox
    • Safari
  • Frontend
    • Jupyter Notebook
    • Jupyter Lab
    • nteract
    • Visual Studio Code
    • Visual Studio Code Insiders
    • Visual Studio
    • Other (please specify)

Screenshots

If applicable, add screenshots to help explain your problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions