-
Notifications
You must be signed in to change notification settings - Fork 806
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #954 from juhasch/pr/952
Add icon for codefolding editor mode
- Loading branch information
Showing
4 changed files
with
139 additions
and
101 deletions.
There are no files selected for viewing
Binary file added
BIN
+22.6 KB
src/jupyter_contrib_nbextensions/nbextensions/codefolding/codefolding_editor.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions
12
src/jupyter_contrib_nbextensions/nbextensions/codefolding/codefolding_editor.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Type: Jupyter Notebook Extension | ||
Name: Codefolding in Editor | ||
Description: | | ||
Enables the CodeMirror feature to allow codefolding in the Jupyter file | ||
editor view. | ||
Note that this also uses the codefolding hotkey from the codefolding | ||
nbextension for the notebook view. | ||
Link: readme.md | ||
Icon: codefolding_editor.png | ||
Main: edit.js | ||
Compatibility: 4.x | ||
Section: edit |
4 changes: 4 additions & 0 deletions
4
src/jupyter_contrib_nbextensions/nbextensions/codefolding/edit.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
define(['./main'], function (codefolding) { | ||
"use strict"; | ||
return codefolding; | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters