Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit a69893e

Browse files
add custom jupyter style to readme
1 parent 8f0a3a9 commit a69893e

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

‎README.md‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,4 +125,18 @@ Bit of command line:
125125
get dolla
126126
$
127127

128+
Custom syntax highlighting for jupyter-notebook style code blocks is possible using an html tag in your markdown:
129+
130+
<div class="jupyter">
131+
132+
```python
133+
print('test')
134+
```
135+
136+
test
137+
138+
</div>
139+
140+
The code format can be generated from jupyter by clicking the download-as -> markdown button. Each block of input and output has to be enclosed in a separate div tag.
141+
128142
For a more complete list of languages see [highlight.js](http://softwaremaniacs.org/media/soft/highlight/test.html)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /