Skip to content

Commit 0913a18

Browse files
committed
Add ipython to pdl-live
Signed-off-by: Claudio Spiess <[email protected]>
1 parent 2b3a607 commit 0913a18

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

pdl-live-react/src/view/code/Code.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ export type SupportedLanguage =
1212
| "javascript"
1313
| "python"
1414
| "plaintext"
15+
| "ipython"
1516

1617
type Props = {
1718
block: PdlBlock

pdl-live-react/src/view/code/PreviewLight.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ export default function PreviewLight({
2929
SyntaxHighlighter.registerLanguage("json", json)
3030
SyntaxHighlighter.registerLanguage("yaml", yaml)
3131
SyntaxHighlighter.registerLanguage("python", python)
32+
SyntaxHighlighter.registerLanguage("ipython", python)
3233
SyntaxHighlighter.registerLanguage("javascript", js)
3334
}, [])
3435

0 commit comments

Comments
 (0)