Skip to content

Using VSCode insiders: Jupyter Notebook Markdown Cell does not support \newcommand in Katex. #125425

@chandresh

Description

@chandresh

Environment data

  • VS Code version: 1.57.0-insider
  • Jupyter Extension version (available under the Extensions sidebar): v2021.6.898847129
  • Python Extension version (available under the Extensions sidebar): v2021.6.864643163-dev
  • OS (Windows | Mac | Linux distro) and version: MacOS Big Sur 11.4
  • Python and/or Anaconda version: 3.8.5
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): conda
  • Jupyter server running: Local

I started using VSCode-insiders recently and loved the way new jupyter UI looks. But I noticed that two of the features that I used to use, does not work.

  1. Global CSS for Markdown cells.
  2. \newcommand in Katex

With VSCode

I usually add the common CSS and latex/katex newcommands on the the first markdown cell:

Screenshot 2021-06-03 at 10 10 24 AM

Then in any markdown cell, I am able to use those:

Screenshot 2021-06-03 at 10 11 16 AM

Here is the output:

Screenshot 2021-06-03 at 10 10 49 AM

With Insiders:

None of the above features work with VS Code Insiders:

Screenshot 2021-06-03 at 10 13 36 AM

Note 1: The CSS works if it is in the same cell. But that means I have to repeat all the needed CSS in each cell. \newcommand does not even work when defined in same cell.

Note 2: I found an issue which has some different problems with Insiders: microsoft/vscode-jupyter#6045.

Metadata

Metadata

Assignees

Labels

author-verification-requestedIssues potentially verifiable by issue authorfeature-requestRequest for new features or functionalityhelp wantedIssues identified as good community contribution opportunitiesinsiders-releasedPatch has been released in VS Code InsidersmarkdownMarkdown support issuesverification-neededVerification of issue is requestedverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions