File tree 1 file changed +1
-4
lines changed
1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change 16
16
17
17
You must also something like these lines in your wikiconfig::
18
18
19
- html_head = '<script type="text/javascript" src="http://aleph.sagemath.org/static/jquery.min.js"></script>'
20
- html_head += '<script type="text/javascript" src="http://aleph.sagemath.org/static/embedded_sagecell.js"></script>'
19
+ html_head = '<script type="text/javascript" src="https://sagecell.sagemath.org/static/embedded_sagecell.js"></script>'
21
20
html_head += '<style type="text/css">.sagecell_output th, .sagecell_output td {border: none;}</style>'
22
21
23
22
30
29
template = """
31
30
<div id="sagecell-%(random)s"><script type="text/x-sage">%(code)s</script></div>
32
31
<script type="text/javascript">
33
- $(function () {
34
32
sagecell.makeSagecell({inputLocation: '#sagecell-%(random)s'});
35
- });
36
33
</script>
37
34
"""
38
35
You can’t perform that action at this time.
0 commit comments