Skip to content

Commit 1a87235

Browse files
Evidlomitya57
authored andcommitted
Include Katex configuration (#23)
Katex is a bit faster than Mathjax and some people may prefer it.
1 parent b92a124 commit 1a87235

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,3 +98,11 @@ Notes
9898

9999
If you use [ReText](https://github.com/retext-project/retext), this extension
100100
is not needed as it is included by default.
101+
102+
This extension also works with Katex. Use the following in your page `<head>`:
103+
104+
```html
105+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex/dist/katex.min.css" crossorigin="anonymous">
106+
<script src="https://cdn.jsdelivr.net/npm/katex/dist/katex.min.js" crossorigin="anonymous"></script>
107+
<script src="https://cdn.jsdelivr.net/npm/katex/dist/contrib/mathtex-script-type.min.js" defer></script>
108+
```

0 commit comments

Comments
 (0)