Forum Discussion
Notebooks not displaying markdown cells
I have added markdown cells in a notebook and it worked as aspected last week, but when I opened the notebook today the cells isn't displaying the text inside. The only thing that is displaying is two gray lines. Anybody having the same issue?
Hi hakan_brovell ,
Thank you for reaching out to the Microsoft Community Forum.
Hi svenchio and GauravLZ888 , Thank you for your prompt responses.
Hi hakan_brovell , could you please try the proposed solutions shared by svenchio and GauravLZ888 ? Let us know if you’re still facing the same issue we’ll be happy to assist you further.
Regards,
Dinesh
6 Replies
- svenchioSuper User
Hi hakan_brovell, I noticed that the double lines you are seeing appear when you convert your cell from code to markdown (check on a new notebook) that suggests that there's a transition in code, and yes, as shown here, markdown had slighly different structure than code cell, so a theory is that, somehow, the code behind your markdown some how got corrupted preventing the cell to display properly.
So, what I suggest is the follow:
#1. Connect your workspace to a git branch, this will materialize whatever content in your notebook to its notebook-content.py
#2. Verify the conent of the markdown cell, it should look like the one shown above for an emty cell, look very closely for any spaces in between cells, the UI is very picky with this.
#3. If there's ANYTHING in the cell, it will be shown in the code and the wort case is that you will be able to rescue the content! Best case, you will fix the cell 😊🤞
Hope you find this plan reasonable to follow, let me know how it works ... best of lucks
- GauravLZ888Advocate I
Hi hakan_brovell ,
I tried to reproduce but could not so far, but overall it appears this is a rendering glitch within the Microsoft Fabric UI. you may try the following steps:
1. Forced Re-render
Double-click the area between the gray lines to enter Edit Mode.
Once the cursor appears, press Shift + Enter to see if the cell re-renders into Display Mode.2. Session & Browser Refresh
Hard Refresh: Press Ctrl + F5 (Windows) or Cmd + Shift + R (Mac) to clear the session cache for the page.3. Verify Data Integrity :
To confirm the text hasn't been deleted:Export the notebook as an .ipynb file.
Open the file in a local text editor (like Notepad or VS Code).
Search for your markdown content. If the text is present in the JSON, the issue is strictly a display bug in the Fabric portal and not data loss.
hope this helps!
- hakan_brovellRegular Visitor
This was resolved by itself, seemed to be a glitch in the UI. Thanks for the replays to AntoineW, svenchio and GauravLZ888
- AntoineWSuper User
Hi hakan_brovell,
Seems like a bug sometimes you can have notebooks UI issues, a display problem, maybe the cell is simply in "collapsed" in all your notebook :
1) try to double-clicking the area between the two gray lines forces the Markdown editor to refresh.
2) Also, try to stop the spark session and refresh the entire page may help.
Sorry for that and hope it can help you !
- hakan_brovellRegular Visitor
Hi @AntoineW I have tried all that and clear cookies and restart of the browser but hasn't helped yet.
- v-dineshyaCommunity Support
Hi hakan_brovell ,
Thank you for reaching out to the Microsoft Community Forum.
Hi svenchio and GauravLZ888 , Thank you for your prompt responses.
Hi hakan_brovell , could you please try the proposed solutions shared by svenchio and GauravLZ888 ? Let us know if you’re still facing the same issue we’ll be happy to assist you further.
Regards,
Dinesh