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:
ylemkimon
2018-08-08 22:32:57 +09:00
committed by Erik Demaine
parent 0b8277c37b
commit 5ce03c45cf
3 changed files with 4 additions and 1 deletions

View File

@@ -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:

View File

@@ -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>

View File

@@ -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'},