question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Broken markdown cells in .dib notebooks

See original GitHub issue

Describe the bug

It seems that yesterday the .net interactive tool updated causing markdown blocks to not be recognized. After loading a .dib file it shows the markdown cells as code cells with #!markdown as the first line.

Steps to reproduce:

  1. Create new .dib notebook file
  2. Add a markdown cell and enter some text
  3. Save the notebook
  4. Close and reopen the notebook. The markdown cell is now parsed as a code cell with #!markdown as the first line.

Please complete the following:

Which version of .NET Interactive are you using? There are a few ways to find this out:

image

  • OS
    • 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
    • Other (please specify)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:3
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
teknikal-wizardcommented, Sep 9, 2021

I just opened a notebook (Windows 11, VSCode), .NET Interactive updated and everything went crazy. As you say, the code and markdown aren’t respecting the section markers. I see raw markdown before the rendered version, but also the code and markdown blocks bleed into each other. It is basically unreadable.

0reactions
brettfocommented, Sep 9, 2021

We just published extension version 1.0.2459010 which addresses this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

No markdown cell are rendered when a Notebook is ...
Issue Type: Bug When a notebook is opened I only see code cells and no markdown cells are displayed. Azure Data Studio version:...
Read more >
Markdown for Jupyter notebooks cheatsheet
Here's how to format Markdown cells in Jupyter notebooks: ... Line breaks: Sometimes markdown doesn't make line breaks when you want them.
Read more >
The Ultimate Markdown Guide (for Jupyter Notebook)
Markdown Cells allows you to write and render Markdown syntax. Here's where you can explain and document the processes. On the other hand,...
Read more >
Formatting notebooks with markdown tutorial
Here are some of the useful markdown commands you might want to know for your notebooks. Yes, you've got the easily clickable buttons...
Read more >
7 Essential Tips for Writing With Jupyter Notebook
Markdown. Markdown is a lightweight markup language with plain-text-formatting syntax. (Wikipedia). How to change the cell to markdown. One ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found