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

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