1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 01:36:22 +00:00

render LaTeX

This commit is contained in:
Rokt33r
2016-01-05 04:53:40 +09:00
parent 2e3a60cf6e
commit 15560a3bce
93 changed files with 59 additions and 7 deletions

View File

@@ -9,13 +9,15 @@
<link rel="stylesheet" href="../node_modules/highlight.js/styles/xcode.css">
<link rel="shortcut icon" href="../resources/favicon.ico">
<title>Boostnote</title>
<link rel="stylesheet" href="../resources/katex.min.css">
</script>
<style>
@font-face {
font-family: 'Lato';
src: url('../resources/Lato-Regular.woff2') format('woff2'), /* Modern Browsers */
url('../resources/Lato-Regular.woff') format('woff'), /* Modern Browsers */
url('../resources/Lato-Regular.ttf') format('truetype');
src: url('../resources/fonts/Lato-Regular.woff2') format('woff2'), /* Modern Browsers */
url('../resources/fonts/Lato-Regular.woff') format('woff'), /* Modern Browsers */
url('../resources/fonts/Lato-Regular.ttf') format('truetype');
font-style: normal;
font-weight: normal;
text-rendering: optimizeLegibility;
@@ -54,6 +56,7 @@
<div id="content"></div>
<script src="../submodules/ace/src-min/ace.js"></script>
<script src="../resources/katex.min.js"></script>
<script type='text/javascript'>
const electron = require('electron')
electron.webFrame.setZoomLevelLimits(1, 1)