nbcommands icon indicating copy to clipboard operation
nbcommands copied to clipboard

nbcommands assumes python as the default language for notebooks

Open deepu-tp opened this issue 6 years ago • 1 comments
trafficstars

Notebooks store metadata about the kernel and language. We could reuse this metadata for syntax highlighting, comments etc.

deepu-tp avatar Nov 02 '19 01:11 deepu-tp

Yes! Right now nbcommands just usels the Pygments' PythonLexer to highlight code, we could use the metadata to use other lexers as well.

vinayak-mehta avatar Nov 02 '19 05:11 vinayak-mehta