Notebook Mode: The comment block is not recognized as a Markdown block
See original GitHub issueWell, can I post any feedback on the Notebook mode that Tyler Leonhardt has posted on the PowerShell blog? https://devblogs.microsoft.com/powershell/public-preview-of-notebook-mode-in-the-powershell-preview-extension-for-visual-studio-code/
Issue Description
The comment block style that our team normally uses doesn’t seem to be correctly parsed as a Markdown block in the Nodebook mode.
<# =========================
# Write comment here
============================ #>
I hope this is improved.
Text mode
Notebook mode
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Comments in Markdown - syntax - Stack Overflow
I use yaml block comments in combination with html-inline comments, since html-comments cannot be nested. Unfortunately, there is no way of block commenting...
Read more >Markdown Cells — Jupyter Notebook 6.5.2 documentation
Text can be added to Jupyter Notebooks using Markdown cells. ... You can make text italic or bold by surrounding a block of...
Read more >Markdown in Jupyter Notebook Tutorial - DataCamp
Markdown cells can be selected in Jupyter Notebook by using the drop-down or also by the keyboard shortcut 'm/M' immediately after inserting a...
Read more >Markdown editing with Visual Studio Code
Working with Markdown files in Visual Studio Code is simple, ... Smart select within a Markdown document expands from a block element, to...
Read more >Markdown Support | PyCharm Documentation - JetBrains
PyCharm recognizes Markdown files, provides a dedicated editor with ... If your code blocks are not meant to be syntactically correct, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It’s a general bug that we’ll fix in the next update. For now cells must start with the line
<#
and end with the line#>
The code indicates that we expect the whole line to be the comment delimiter, rather than just contain it:
https://github.com/PowerShell/vscode-powershell/blob/2d30df76eec42a600f97f2cc28105a9793c9821b/src/features/PowerShellNotebooks.ts#L125
https://github.com/PowerShell/vscode-powershell/blob/2d30df76eec42a600f97f2cc28105a9793c9821b/src/features/PowerShellNotebooks.ts#L100