jupyter / jupyter/notebook

Mime type not set for codemirror.

Open
#989 3 comments 0 reactions 0 assignees View on GitHub
status:Needs Info
Dominant language
Jupyter Notebook
Stars
13.3k
Forks
5.8k
Avg merge
6d 11h
Merged PRs (30d)
7

Description

I am using the sql codemirror_mode, which has several mime types associated with it. I would like to use text/x-cassandra. For some output formatting of CQL (for describing objects), I was able to actually get codemirror to render x-cassandra with my own textarea in the output. However, the input cells seem to use a generic sql format, even if I set the mimetype='text/x-cassandra' in the kernel.

Contributor guide

Open the contributing guide

Research direction

Start with the SQL CodeMirror mode and the input-cell handling described in the issue. Compare how the custom output textarea renders text/x-cassandra with how the kernel mimetype is applied to input cells. Done means input cells use the requested Cassandra MIME mode instead of the generic SQL format.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook, sql
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.