-
Notifications
You must be signed in to change notification settings - Fork 586
Open
Milestone
Description
From the discussion on #356, we want to reuse the syntax highlighting we already have for code input to support code output. Our idea is that this would be displayed as a display_data
or execute_result
output, with text/plain
mimetype, and language-mime
metadata (name still open to discussion) identifying the highlighting to use. This degrades nicely for clients that don't recognise it: they will display the code unhighlighted.
- Use this metadata in nbconvert to highlight with pygments
- Use this metadata in the notebook to highlight with codemirror
- Add functionality to kernels to send display output with this metadata
- Resolve the discrepancy between mimetypes for R source code (pygments/codemirror)
clenk and mgeier
Metadata
Metadata
Assignees
Labels
No labels