Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
<title></title>
<link rel="stylesheet" href="/vendor/github-markdown.css">
<link rel="stylesheet" href="/style.css">
<link rel="stylesheet" href="/vendor/github.css">

<link rel="stylesheet" href="/vendor/katex.min.css">
</head>
<body>
<article class="markdown-body">
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"markdown-it": "^8.3.1",
"markdown-it-emoji": "^1.4.0",
"markdown-it-github-headings": "^1.0.1",
"markdown-it-katex": "^2.0.3",
"markdown-it-task-checkbox": "^1.0.4",
"minimist": "^1.1.0",
"opn": "^5.1.0",
Expand Down
Binary file added public/vendor/fonts/KaTeX_AMS-Regular.eot
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_AMS-Regular.ttf
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_AMS-Regular.woff
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_AMS-Regular.woff2
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_Caligraphic-Bold.eot
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_Caligraphic-Bold.ttf
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_Caligraphic-Bold.woff
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_Caligraphic-Bold.woff2
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_Caligraphic-Regular.eot
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_Caligraphic-Regular.ttf
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_Fraktur-Bold.eot
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_Fraktur-Bold.ttf
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_Fraktur-Bold.woff
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_Fraktur-Bold.woff2
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_Fraktur-Regular.eot
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_Fraktur-Regular.ttf
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_Fraktur-Regular.woff
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_Fraktur-Regular.woff2
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_Main-Bold.eot
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_Main-Bold.ttf
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_Main-Bold.woff
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_Main-Bold.woff2
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_Main-Italic.eot
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_Main-Italic.ttf
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_Main-Italic.woff
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_Main-Italic.woff2
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_Main-Regular.eot
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_Main-Regular.ttf
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_Main-Regular.woff
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_Main-Regular.woff2
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_Math-BoldItalic.eot
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_Math-BoldItalic.ttf
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_Math-BoldItalic.woff
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_Math-BoldItalic.woff2
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_Math-Italic.eot
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_Math-Italic.ttf
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_Math-Italic.woff
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_Math-Italic.woff2
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_Math-Regular.eot
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_Math-Regular.ttf
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_Math-Regular.woff
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_Math-Regular.woff2
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_SansSerif-Bold.eot
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_SansSerif-Bold.ttf
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_SansSerif-Bold.woff
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_SansSerif-Bold.woff2
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_SansSerif-Italic.eot
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_SansSerif-Italic.ttf
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_SansSerif-Italic.woff
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_SansSerif-Italic.woff2
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_SansSerif-Regular.eot
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_SansSerif-Regular.ttf
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_SansSerif-Regular.woff
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_SansSerif-Regular.woff2
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_Script-Regular.eot
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_Script-Regular.ttf
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_Script-Regular.woff
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_Script-Regular.woff2
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_Size1-Regular.eot
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_Size1-Regular.ttf
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_Size1-Regular.woff
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_Size1-Regular.woff2
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_Size2-Regular.eot
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_Size2-Regular.ttf
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_Size2-Regular.woff
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_Size2-Regular.woff2
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_Size3-Regular.eot
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_Size3-Regular.ttf
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_Size3-Regular.woff
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_Size3-Regular.woff2
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_Size4-Regular.eot
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_Size4-Regular.ttf
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_Size4-Regular.woff
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_Size4-Regular.woff2
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_Typewriter-Regular.eot
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_Typewriter-Regular.ttf
Binary file not shown.
Binary file added public/vendor/fonts/KaTeX_Typewriter-Regular.woff
Binary file not shown.
Binary file not shown.
99 changes: 0 additions & 99 deletions public/vendor/github.css

This file was deleted.

1 change: 1 addition & 0 deletions public/vendor/katex.min.css

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ var markdownIt = require('markdown-it')
var markdownItTaskCheckbox = require('markdown-it-task-checkbox')
var markdownItEmoji = require('markdown-it-emoji')
var markdownItGitHubHeadings = require('markdown-it-github-headings')
var markdownItKatex = require('markdown-it-katex')

var md = markdownIt({
html: true,
Expand All @@ -21,6 +22,7 @@ md.use(markdownItEmoji)
md.use(markdownItGitHubHeadings, {
prefix: ''
})
md.use(markdownItKatex)

var app = express()
var server = http.Server(app)
Expand Down