mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-29 18:22:41 +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 = PhabricatorSyntaxHighlighter::highlightWithLanguage(
|
||||
'python',
|
||||
'py',
|
||||
$content);
|
||||
|
||||
$outputs = array();
|
||||
|
|
Loading…
Reference in a new issue