Skip to content

Commit 2fb4957

Browse files
committed
CONFIG: Enable sphinx-tojupyter to have julia language config
1 parent 5386d19 commit 2fb4957

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

lectures/_config.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ sphinx:
4141
- "image/jpeg"
4242
- "text/markdown"
4343
- "text/plain"
44+
highlight_language: julia
4445
html_favicon: _static/lectures-favicon.ico
4546
html_theme: quantecon_book_theme
4647
html_static_path: ['_static']
@@ -63,15 +64,16 @@ sphinx:
6364
mathjax_path: https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-svg.js
6465
rediraffe_redirects:
6566
index_toc.md: intro.md
67+
tojupyter_default_lang: julia
68+
tojupyter_lang_synonyms: ['julia-1.6']
6669
tojupyter_static_file_path: ["source/_static", "_static"]
6770
tojupyter_target_html: true
6871
tojupyter_urlpath: "https://julia.quantecon.org/"
6972
tojupyter_image_urlpath: "https://julia.quantecon.org/_static/"
7073
tojupyter_kernels:
7174
julia:
7275
kernelspec:
73-
display_name: "Julia"
76+
display_name: Julia
7477
language: julia
75-
name: julia
76-
file_extension: ".jl"
78+
name: julia-1.6
7779
tojupyter_images_markdown: true

0 commit comments

Comments
 (0)