mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-06 11:48:41 +00:00
Add link to the demo in navigation bar and README (#1564)
* Add link to the demo in navigation bar * Add link to the demo in README
This commit is contained in:
@@ -16,6 +16,8 @@ KaTeX is compatible with all major browsers, including Chrome, Safari, Firefox,
|
||||
|
||||
KaTeX supports much (but not all) of LaTeX and many LaTeX packages. See the [list of supported functions](https://khan.github.io/KaTeX/docs/supported.html).
|
||||
|
||||
Try out KaTeX [on the demo page](https://khan.github.io/KaTeX/#demo)!
|
||||
|
||||
## Getting started
|
||||
|
||||
[Download KaTeX](https://github.com/khan/katex/releases) and host it on your server or include the `katex.min.js` and `katex.min.css` files on your page directly from a CDN:
|
||||
|
@@ -27,7 +27,7 @@
|
||||
<a href="docs/api.html" role="button"><i class="fa fa-book"></i> Documentation</a>
|
||||
<a href="https://github.com/Khan/KaTeX" role="button"><i class="fa fa-github"></i> View on GitHub</a>
|
||||
</div>
|
||||
<div class="demo">
|
||||
<div class="demo" id="demo">
|
||||
<div class="demo-left">
|
||||
<div class="demo-instructions">
|
||||
<label for="demo-input">Type an expression:</label>
|
||||
|
@@ -33,6 +33,7 @@ const siteConfig = {
|
||||
organizationName: 'Khan',
|
||||
|
||||
headerLinks: [
|
||||
{href: baseUrl + '#demo', label: 'Try'},
|
||||
{doc: 'node', label: 'Docs'},
|
||||
{page: 'users', label: 'Users'},
|
||||
{href: 'https://github.com/Khan/KaTeX', label: 'GitHub'},
|
||||
|
Reference in New Issue
Block a user