Skip to content

Commit

Permalink
Add normalize and KaTeX styles when exporting as HTML
Browse files Browse the repository at this point in the history
  • Loading branch information
Bartozzz committed Apr 25, 2018
1 parent 40dda15 commit 6c1821c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/scripts/shortcuts/FileShortcuts.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,9 @@ export function getAsHTML(content: string): string {
<head>
<title>${title}</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.0/normalize.min.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.9.0/katex.min.css" />
<style>
.content { max-width: 1200px; margin: 0 auto; }
${style}
Expand Down

0 comments on commit 6c1821c

Please sign in to comment.