-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
574 changed files
with
185,449 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,6 @@ _drafts/ | |
.bundle/ | ||
#vendor/ | ||
.history/ | ||
docs/ | ||
*.ini | ||
config | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
id: cli | ||
title: CLI | ||
--- | ||
|
||
KaTeX installed [using Node.js package managers](node.md) comes with a | ||
built-in command-line interface (CLI) which can be used to render TeX to HTML. | ||
By default, CLI will take the input from standard input. | ||
|
||
```bash | ||
npx katex | ||
``` | ||
|
||
> Above uses the `npx` command to run the locally installed executable | ||
after `npm install katex`. You can also execute with the relative path: | ||
`./node_modules/.bin/katex` | ||
|
||
> To use the CLI from local Git clone, you need to build the project first. | ||
See [Building from Source](node.md#building-from-source) for more details. | ||
|
||
## Options |
Oops, something went wrong.