mirror of
https://we.phorge.it/source/phorge.git
synced 2025-02-20 10:48:40 +01:00
Make Jupyter notebooks use the fast builtin Python highlighter
Summary: Ref T13105. This is silly, but "py" and "python" end up in different places today, and "py" is ~100x faster than "python". See also T3626 for longer-term plans on this. Test Plan: Reloaded a Jupyter notebook, saw it render almost instantly instead of taking a few seconds. Reviewers: mydeveloperday Reviewed By: mydeveloperday Maniphest Tasks: T13105 Differential Revision: https://secure.phabricator.com/D19273
This commit is contained in:
parent
7eaa27683e
commit
ccbc8a430f
1 changed files with 1 additions and 1 deletions
|
@ -196,7 +196,7 @@ final class PhabricatorJupyterDocumentEngine
|
||||||
$content = implode('', $content);
|
$content = implode('', $content);
|
||||||
|
|
||||||
$content = PhabricatorSyntaxHighlighter::highlightWithLanguage(
|
$content = PhabricatorSyntaxHighlighter::highlightWithLanguage(
|
||||||
'python',
|
'py',
|
||||||
$content);
|
$content);
|
||||||
|
|
||||||
$outputs = array();
|
$outputs = array();
|
||||||
|
|
Loading…
Add table
Reference in a new issue