-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
88787d2
commit e1ae92a
Showing
18 changed files
with
764 additions
and
184 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,69 +1,92 @@ | ||
print("hello") | ||
# This is example for neopyter notebook format | ||
# This will become first cell | ||
print("I am first cell") | ||
|
||
# %% | ||
print("previous line is standard cell separator") | ||
|
||
# %% Cell with title | ||
print("previous line is standard cell separator, can include a title `Cell with title`") | ||
|
||
# %% [md] | ||
""" | ||
```lua | ||
print("First cell") | ||
print("you can mark cell tyep with `[lang]` syntax, notice the space") | ||
print("default cell type is [code]") | ||
``` | ||
""" | ||
# %% ------------------------parse as code cell--------------------------------------- | ||
# %% | ||
|
||
# %% | ||
|
||
# %% title | ||
|
||
# next line is line magic in jupyter lab | ||
# %sleep | ||
|
||
# %% [title | ||
|
||
# %% [] | ||
|
||
# %% [ ] | ||
|
||
|
||
# %% [code] title | ||
|
||
# %% ------------------------parse as magic cell--------------------------------------- | ||
|
||
# %%timeit | ||
|
||
# %%timeit | ||
""" | ||
print("Hello") | ||
""" | ||
|
||
|
||
print("Second cell") | ||
|
||
# %% ------------------------parse as markdown cell--------------------------------------- | ||
|
||
# %% [md] | ||
""" | ||
# First title | ||
## Second color | ||
### Second color | ||
# this is first level | ||
## this is second level | ||
* 1 level | ||
** 2 level | ||
*** 3 level | ||
```bash | ||
$ echo "code in code" | ||
$ echo $PATH | ||
``` | ||
""" | ||
|
||
**Bold** | ||
# %% [markdown] | ||
|
||
""" | ||
# %% [markdown] | ||
""" | ||
# First title | ||
# %% [md] title | ||
|
||
""" | ||
# %% [markdown] title | ||
|
||
# %% [raw] | ||
""" | ||
raw cell content | ||
# %% ------------------------parse as raw cell--------------------------------------- | ||
|
||
# %% [raw] | ||
""" | ||
this is raw cell content | ||
""" | ||
|
||
# %% | ||
# %% [raw] title | ||
|
||
# %% title | ||
# %% ------------------------parse as special cell--------------------------------------- | ||
|
||
|
||
# %% [title | ||
# %% [sql] | ||
|
||
# %% [] | ||
# %% [sql] title | ||
|
||
class A(): | ||
def __init__(self) -> None: | ||
pass | ||
# %% [js] | ||
|
||
""" | ||
not markdown | ||
# %% [js] title | ||
|
||
""" | ||
# %% ------------------------parse as special cell--------------------------------------- | ||
# %% | ||
|
||
# %% [md] | ||
""" | ||
# | ||
""" | ||
# %%timeit | ||
|
||
# %% [markdown] | ||
# %% [sql] | ||
""" | ||
select * from table | ||
""" | ||
|
||
# %% [sql] |
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
Oops, something went wrong.