Skip to content

Commit

Permalink
Use KaTeX
Browse files Browse the repository at this point in the history
  • Loading branch information
lukstafi committed Oct 26, 2023
1 parent 4fb710d commit 4af4d46
Showing 1 changed file with 21 additions and 9 deletions.
30 changes: 21 additions & 9 deletions site/index.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,21 @@
<head>
<title>A Curious OCaml Book</title>
</head>
<body>
<h4>Curious OCaml</h4>
<a href="new_book.html">Curious OCaml</a> -- work in progress.
<h4>Functional Programming 2012-2013</h4>
<a href="old_lectures_as_book.html">Functional Programming Course 2012-2013</a> slides converted to a book format -- conversion cleanup in progress.
</body>
<!DOCTYPE html>
<!-- KaTeX requires the use of the HTML5 doctype. Without it, KaTeX may not render properly -->
<html>
<head>
<title>A Curious OCaml Book</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/katex.min.css" integrity="sha384-n8MVd4RsNIU0tAv4ct0nTaAbDJwPJzDEaqSD1odI+WdtXRGWt2kTvGFasHpSy3SV" crossorigin="anonymous">

<!-- The loading of KaTeX is deferred to speed up page rendering -->
<script defer src="https://cdn.jsdelivr.net/npm/[email protected]/dist/katex.min.js" integrity="sha384-XjKyOOlGwcjNTAIQHIpgOno0Hl1YQqzUOEleOLALmuqehneUG+vnGctmUb0ZY0l8" crossorigin="anonymous"></script>

<!-- To automatically render math in text elements, include the auto-render extension: -->
<script defer src="https://cdn.jsdelivr.net/npm/[email protected]/dist/contrib/auto-render.min.js" integrity="sha384-+VBxd3r6XgURycqtZ117nYw44OOcIax56Z4dCRWbxyPt0Koah1uHoK0o4+/RRE05" crossorigin="anonymous"
onload="renderMathInElement(document.body);"></script>
</head>
<body>
<h4>Curious OCaml</h4>
<a href="new_book.html">Curious OCaml</a> -- work in progress.
<h4>Functional Programming 2012-2013</h4>
<a href="old_lectures_as_book.html">Functional Programming Course 2012-2013</a> slides converted to a book format -- conversion cleanup in progress.
</body>
</html>

0 comments on commit 4af4d46

Please sign in to comment.