Issue: Markdown Cells Formatted as Raw Cells When Loading Templates in VSCode Extension #15854
Unanswered
somesh101
asked this question in
Questions and Answers
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description:
I am developing a Jupyter notebook extension for VSCode that enables users to create, insert, and delete templates for Jupyter notebook files. However, I am encountering an issue where markdown cells are being formatted as raw cells when these templates are loaded.
Steps to Reproduce:
Attempted Solutions:
Inserting Cells as Edits:
Loading Document as New Document:
Expected Behavior:
Markdown cells should retain their formatting and appear as markdown cells when the template is loaded.
Actual Behavior:
Markdown cells are incorrectly formatted as raw cells when the template is loaded.
Environment:
VSCode: 1.90.2
Operating System: windows 10
I would appreciate any guidance or suggestions on how to resolve this issue. Thank you!
here is the link to my code
https://github.com/somesh101/JupyterTemplates/blob/master/insert.js
You can take a look at function loadTemplateUsingEdit, loadTemplate
here is the link to basic version of this extension https://marketplace.visualstudio.com/items?itemName=SomeshKumar.jupyter-templates
Beta Was this translation helpful? Give feedback.
All reactions