##// END OF EJS Templates
Backport PR #6878: Update pygments monkeypatch for compatibility with Pygments 2.0...
Backport PR #6878: Update pygments monkeypatch for compatibility with Pygments 2.0 Closes gh-6877 I spent a while looking for a better way to achive this, to get rid of the monkeypatch, but none occurred to me, so I went with Carlos' suggestion of just updating it.

File last commit:

r18710:5efe5b64
r20382:79516ce7
Show More
__init__.py
19 lines | 468 B | text/x-python | PythonLexer
MinRK
backport nbformat v4 to 2.x
r18710 """The main API for the v4 notebook format."""
# Copyright (c) IPython Development Team.
# Distributed under the terms of the Modified BSD License.
from .nbbase import (
nbformat, nbformat_minor, nbformat_schema,
new_code_cell, new_markdown_cell, new_notebook,
new_output, output_from_msg,
)
from .nbjson import reads, writes, to_notebook
reads_json = reads
writes_json = writes
to_notebook_json = to_notebook
from .convert import downgrade, upgrade