Skip to content

Commit

Permalink
update preview to ar5iv-css 0.7.9
Browse files Browse the repository at this point in the history
  • Loading branch information
dginev committed Feb 26, 2024
1 parent 16de957 commit 9939807
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion templates/task-preview.html.tera
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,8 @@
main_content = main_content.replace(/<\/head>/, simple_css + "\n</head>");
main_content = main_content.replace(/<\/body>/, "\n" + maybe_mathjax_js + "\n" + fire_loaded + "\n</body>");
} else { // load ar5iv.css by default
var simple_css = '<link media="all" rel="stylesheet" href="//cdn.jsdelivr.net/gh/dginev/ar5iv-css@0.7.8/css/ar5iv.min.css">';
var simple_css = '<link media="all" rel="stylesheet" href="//cdn.jsdelivr.net/gh/dginev/ar5iv-css@0.7.9/css/ar5iv-fonts.min.css">'+"\n"+
'<link media="all" rel="stylesheet" href="//cdn.jsdelivr.net/gh/dginev/ar5iv-css@0.7.9/css/ar5iv.min.css">';
main_content = main_content.replace(/<\/head>/, simple_css + "\n</head>");
main_content = main_content.replace(/<\/body>/, "\n" + maybe_mathjax_js + "\n" + fire_loaded + "\n</body>");
}
Expand Down

0 comments on commit 9939807

Please sign in to comment.