mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 18:17:20 +00:00
Update to KaTeX v0.1.1
This commit is contained in:
parent
21a791cdcd
commit
564457de1c
@ -232,6 +232,7 @@ var document = {
|
||||
createTextNode: function(text) {
|
||||
return new TW_TextNode(text);
|
||||
},
|
||||
compatMode: "CSS1Compat", // For KaTeX to know that we're not a browser in quirks mode
|
||||
isTiddlyWikiFakeDom: true
|
||||
};
|
||||
|
||||
|
@ -17,6 +17,7 @@ type: text/vnd.tiddlywiki
|
||||
* [[Added|https://github.com/Jermolene/TiddlyWiki5/commit/ef1d5310918dae088ce9361c1682ce0f99cf568a]] confirmation when clearing password
|
||||
* [[Added|https://github.com/Jermolene/TiddlyWiki5/commit/b7bbcfa05659808c1e51a4f2f5f1d6afbc2ed3a1]] additional prompt when setting password
|
||||
* [[Increased|https://github.com/Jermolene/TiddlyWiki5/commit/dc9981322aeb508d5ebac0b691b0d703f8c1995e]] size of the clear search button
|
||||
* [[Upgraded|]] to [[KaTeX v0.1.1|https://github.com/Khan/KaTeX/releases/tag/v0.1.1]]
|
||||
|
||||
|
||||
!! Hackability Improvements
|
||||
|
@ -1,4 +1,4 @@
|
||||
# [<img src="https://khan.github.io/KaTeX/katex-logo.svg" width="130" alt="KaTeX">](http://khan.github.io/KaTeX/) [![Build Status](https://travis-ci.org/Khan/KaTeX.svg?branch=master)](https://travis-ci.org/Khan/KaTeX)
|
||||
# [<img src="https://khan.github.io/KaTeX/katex-logo.svg" width="130" alt="KaTeX">](https://khan.github.io/KaTeX/) [![Build Status](https://travis-ci.org/Khan/KaTeX.svg?branch=master)](https://travis-ci.org/Khan/KaTeX)
|
||||
|
||||
KaTeX is a fast, easy-to-use JavaScript library for TeX math rendering on the web.
|
||||
|
||||
@ -14,8 +14,8 @@ KaTeX supports all major browsers, including Chrome, Safari, Firefox, Opera, and
|
||||
Download the built files from [the releases page](https://github.com/khan/katex/releases). Include the `katex.min.js` and `katex.min.css` files on your page:
|
||||
|
||||
```html
|
||||
<link rel="stylesheet" type="text/css" href="/path/to/katex.min.css">
|
||||
<script src="/path/to/katex.min.js" type="text/javascript"></script>
|
||||
<link rel="stylesheet" href="/path/to/katex.min.css">
|
||||
<script src="/path/to/katex.min.js"></script>
|
||||
```
|
||||
|
||||
Call `katex.render` with a TeX expression and a DOM element to render into:
|
||||
@ -33,10 +33,18 @@ var html = katex.renderToString("c = \\pm\\sqrt{a^2 + b^2}");
|
||||
|
||||
Make sure to include the CSS and font files, but there is no need to include the JavaScript.
|
||||
|
||||
These APIs default to inline math typesetting; for display math you can prepend `\displaystyle` ([#66](https://github.com/Khan/KaTeX/issues/66)):
|
||||
|
||||
```js
|
||||
katex.render("\\displaystyle " + formula, element);
|
||||
// OR
|
||||
var html = katex.renderToString("\\displaystyle " + formula);
|
||||
```
|
||||
|
||||
## Contributing
|
||||
|
||||
See [CONTRIBUTING.md](CONTRIBUTING.md)
|
||||
|
||||
## License
|
||||
|
||||
KaTeX is licenced under the [MIT License](http://opensource.org/licenses/MIT).
|
||||
KaTeX is licensed under the [MIT License](http://opensource.org/licenses/MIT).
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
plugins/tiddlywiki/katex/files/fonts/KaTeX_AMS-Regular.woff2
Normal file
BIN
plugins/tiddlywiki/katex/files/fonts/KaTeX_AMS-Regular.woff2
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Bold.woff2
Normal file
BIN
plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Bold.woff2
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Italic.woff2
Normal file
BIN
plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Italic.woff2
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Regular.woff2
Normal file
BIN
plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Regular.woff2
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
plugins/tiddlywiki/katex/files/fonts/KaTeX_Math-BoldItalic.woff2
Normal file
BIN
plugins/tiddlywiki/katex/files/fonts/KaTeX_Math-BoldItalic.woff2
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
plugins/tiddlywiki/katex/files/fonts/KaTeX_Math-Italic.woff2
Normal file
BIN
plugins/tiddlywiki/katex/files/fonts/KaTeX_Math-Italic.woff2
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
plugins/tiddlywiki/katex/files/fonts/KaTeX_Math-Regular.woff2
Normal file
BIN
plugins/tiddlywiki/katex/files/fonts/KaTeX_Math-Regular.woff2
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
plugins/tiddlywiki/katex/files/fonts/KaTeX_Size1-Regular.woff2
Normal file
BIN
plugins/tiddlywiki/katex/files/fonts/KaTeX_Size1-Regular.woff2
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
plugins/tiddlywiki/katex/files/fonts/KaTeX_Size2-Regular.woff2
Normal file
BIN
plugins/tiddlywiki/katex/files/fonts/KaTeX_Size2-Regular.woff2
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
plugins/tiddlywiki/katex/files/fonts/KaTeX_Size3-Regular.woff2
Normal file
BIN
plugins/tiddlywiki/katex/files/fonts/KaTeX_Size3-Regular.woff2
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
plugins/tiddlywiki/katex/files/fonts/KaTeX_Size4-Regular.woff2
Normal file
BIN
plugins/tiddlywiki/katex/files/fonts/KaTeX_Size4-Regular.woff2
Normal file
Binary file not shown.
2
plugins/tiddlywiki/katex/files/katex.min.css
vendored
2
plugins/tiddlywiki/katex/files/katex.min.css
vendored
File diff suppressed because one or more lines are too long
6
plugins/tiddlywiki/katex/files/katex.min.js
vendored
6
plugins/tiddlywiki/katex/files/katex.min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user