Skip to content
Snippets Groups Projects
Commit 1dcbfdff authored by Waylon Flinn's avatar Waylon Flinn
Browse files

link to github stylesheet

parent 4ed1a482
No related branches found
No related tags found
No related merge requests found
...@@ -21,7 +21,7 @@ Install the plugin ...@@ -21,7 +21,7 @@ Install the plugin
npm install markdown-it-katex npm install markdown-it-katex
``` ```
Include it in your javascript Use it in your javascript
```javascript ```javascript
var md = require('markdown-it')(), var md = require('markdown-it')(),
...@@ -38,8 +38,10 @@ Include the KaTeX stylesheet in your html: ...@@ -38,8 +38,10 @@ Include the KaTeX stylesheet in your html:
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.5.1/katex.min.css"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.5.1/katex.min.css">
``` ```
If you're using the default markdown-it parser, I also recommend the github stylesheet: If you're using the default markdown-it parser, I also recommend the [github stylesheet](https://github.com/sindresorhus/github-markdown-css):
https://github.com/sindresorhus/github-markdown-css ```html
<link rel="stylesheet" href="https://cdn.jsdelivr.net/github-markdown-css/2.2.1/github-markdown.css"/>
```
## Examples ## Examples
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment