Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Fork of markdown-it-katex
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Postal Owl
Fork of markdown-it-katex
Commits
1dcbfdff
Commit
1dcbfdff
authored
9 years ago
by
Waylon Flinn
Browse files
Options
Downloads
Patches
Plain Diff
link to github stylesheet
parent
4ed1a482
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+5
-3
5 additions, 3 deletions
README.md
with
5 additions
and
3 deletions
README.md
+
5
−
3
View file @
1dcbfdff
...
@@ -21,7 +21,7 @@ Install the plugin
...
@@ -21,7 +21,7 @@ Install the plugin
npm install markdown-it-katex
npm install markdown-it-katex
```
```
Includ
e it in your javascript
Us
e 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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment