cmoog / vscode-sql-notebook

Open SQL files as VSCode Notebooks.
https://marketplace.visualstudio.com/items?itemName=cmoog.sqlnotebook
MIT License
129 stars 18 forks source link

Markdown cells not correctly detected and treated as SQL on opening a file #72

Open CatalyseRichard opened 1 year ago

CatalyseRichard commented 1 year ago

When an existing file is opened the markdown cells are not reliably identified as markdown. Some open OK but others, particularly those containing tables and/or lists (OL and UL), open as 2 SQL cells. The first cell contains the markdown text preceded by the /markdown tag. The closing / tag appearing in a following 2nd SQL cell. Once the cells are merged thercell type detection may recognise the correct type and there may be a suggestion to change cell type to markdown. This does not always happen and manual scrutiny and change is often required.

NavneetSajwan commented 10 months ago

Same issue as of 25/11/2023

MartinR-PCS commented 7 months ago

Same issue ... and: one file /cloned from Git/ is rendered correctly for some VSCode instance while in others not