File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -181,6 +181,9 @@ md"""
181
181
## `.jl`: PlutoSliderServer.jl
182
182
"""
183
183
184
+ # ╔═╡ bb905046-59b7-4da6-97ad-dbb9055d823a
185
+ const pluto_deploy_settings = PlutoSliderServer. get_configuration (PlutoSliderServer. default_config_path ())
186
+
184
187
# ╔═╡ b638df55-fd74-4ae8-bdbd-ec7b18214b40
185
188
function prose_from_code (s:: String ):: String
186
189
replace (replace (
@@ -694,7 +697,13 @@ function template_handler(
694
697
695
698
# TODO these relative paths can't be right...
696
699
h = @htl """
697
- <pluto-editor statefile=$(reg_s. url) notebookfile=$(reg_n. url) disable_ui>
700
+ <pluto-editor
701
+ statefile=$(reg_s. url)
702
+ notebookfile=$(reg_n. url)
703
+ slider_server_url=$(pluto_deploy_settings. Export. slider_server_url)
704
+ binder_url=$(pluto_deploy_settings. Export. binder_url)
705
+ disable_ui
706
+ >
698
707
"""
699
708
700
709
frontmatter = Pluto. frontmatter (input. absolute_path)
946
955
# ╠═692c1e0b-07e1-41b3-abcd-2156bda65b41
947
956
# ╟─adb1ddac-d992-49ca-820f-e1ed8ca33bf8
948
957
# ╠═e2510a44-df48-4c05-9453-8822deadce24
958
+ # ╠═bb905046-59b7-4da6-97ad-dbb9055d823a
949
959
# ╠═b638df55-fd74-4ae8-bdbd-ec7b18214b40
950
960
# ╠═87b4431b-438b-4da4-9d06-79e7f3a2fe05
951
961
# ╟─cd4e479c-deb7-4a44-9eb0-c3819b5c4067
You can’t perform that action at this time.
0 commit comments