-
Notifications
You must be signed in to change notification settings - Fork 392
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* WIP Add support for Sage (language_info is missing in sample notebook) * Add sage notebook including language_info * Sage notebooks have .py in language info but still we want .sage as the associated extension * Add the text representations of the sample Sage notebook * Update CHANGELOG.md * Fix the test on the auto ext in the context of Sage notebooks Co-authored-by: Lars Franke <frcl@mailbox.org>
- v1.16.6
- v1.16.5
- v1.16.4
- v1.16.4b
- v1.16.3
- v1.16.3d
- v1.16.3c
- v1.16.3b
- v1.16.2
- v1.16.1
- v1.16.0
- v1.16.0.rc0
- v1.16.0-rc0
- v1.15.2
- v1.15.1
- v1.15.0
- v1.15.0.dev2
- v1.15.0.dev1
- v1.15.0-dev2
- v1.15.0-dev1
- v1.14.7
- v1.14.6
- v1.14.5
- v1.14.4
- v1.14.3
- v1.14.2
- v1.14.1
- v1.14.0
- v1.13.8
- v1.13.7
- v1.13.6
- v.1.13.5
- v1.13.5
- v1.13.4
- v1.13.3
- v1.13.2
- v1.13.1.2
- v1.13.1
- v1.13.0
- v1.12.0
- v1.11.5
- v1.11.4
- v1.11.3
- v1.11.2
- v1.11.1
- v1.11.0
- v1.10.3
- v1.10.2
- v1.10.2rc1
- v1.10.2rc0
- v1.10.1
- v1.10.1rc0
Showing
12 changed files
with
109 additions
and
0 deletions.
There are no files selected for viewing
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
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
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
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
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,34 @@ | ||
{ | ||
"cells": [ | ||
{ | ||
"cell_type": "code", | ||
"execution_count": null, | ||
"metadata": {}, | ||
"outputs": [], | ||
"source": [ | ||
"print(\"Hello world\")" | ||
] | ||
} | ||
], | ||
"metadata": { | ||
"kernelspec": { | ||
"display_name": "SageMath 9.2", | ||
"language": "sage", | ||
"name": "sagemath" | ||
}, | ||
"language_info": { | ||
"codemirror_mode": { | ||
"name": "ipython", | ||
"version": 3 | ||
}, | ||
"file_extension": ".py", | ||
"mimetype": "text/x-python", | ||
"name": "python", | ||
"nbconvert_exporter": "python", | ||
"pygments_lexer": "ipython3", | ||
"version": "3.9.1" | ||
} | ||
}, | ||
"nbformat": 4, | ||
"nbformat_minor": 4 | ||
} |
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,11 @@ | ||
--- | ||
jupyter: | ||
kernelspec: | ||
display_name: SageMath 9.2 | ||
language: sage | ||
name: sagemath | ||
--- | ||
|
||
```{sage} | ||
print("Hello world") | ||
``` |
10 changes: 10 additions & 0 deletions
10
tests/notebooks/mirror/ipynb_to_hydrogen/sage_print_hello.sage
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,10 @@ | ||
# --- | ||
# jupyter: | ||
# kernelspec: | ||
# display_name: SageMath 9.2 | ||
# language: sage | ||
# name: sagemath | ||
# --- | ||
|
||
# %% | ||
print("Hello world") |
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,11 @@ | ||
--- | ||
jupyter: | ||
kernelspec: | ||
display_name: SageMath 9.2 | ||
language: sage | ||
name: sagemath | ||
--- | ||
|
||
```sage | ||
print("Hello world") | ||
``` |
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,10 @@ | ||
--- | ||
kernelspec: | ||
display_name: SageMath 9.2 | ||
language: sage | ||
name: sagemath | ||
--- | ||
|
||
```{code-cell} ipython3 | ||
print("Hello world") | ||
``` |
10 changes: 10 additions & 0 deletions
10
tests/notebooks/mirror/ipynb_to_percent/sage_print_hello.sage
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,10 @@ | ||
# --- | ||
# jupyter: | ||
# kernelspec: | ||
# display_name: SageMath 9.2 | ||
# language: sage | ||
# name: sagemath | ||
# --- | ||
|
||
# %% | ||
print("Hello world") |
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,9 @@ | ||
# --- | ||
# jupyter: | ||
# kernelspec: | ||
# display_name: SageMath 9.2 | ||
# language: sage | ||
# name: sagemath | ||
# --- | ||
|
||
print("Hello world") |
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