mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-05 19:28:39 +00:00
Replace yarn run
and yarn install
with yarn
, remove building with npm
instructions (#1528)
* Replace `yarn run` with `yarn` * Replace `yarn install` with `yarn` * Remove building using `npm` from node.md
This commit is contained in:
4
cli.js
4
cli.js
@@ -2,7 +2,7 @@
|
||||
// Simple CLI for KaTeX.
|
||||
// Reads TeX from stdin, outputs HTML to stdout.
|
||||
// To run this from the repository, you must first build KaTeX by running
|
||||
// `yarn install` and `yarn run build`.
|
||||
// `yarn` and `yarn build`.
|
||||
|
||||
/* eslint no-console:0 */
|
||||
|
||||
@@ -12,7 +12,7 @@ try {
|
||||
} catch (e) {
|
||||
console.error(
|
||||
"KaTeX could not import, likely because dist/katex.js is missing.");
|
||||
console.error("Please run 'yarn install' and 'yarn run build' before running");
|
||||
console.error("Please run 'yarn' and 'yarn build' before running");
|
||||
console.error("cli.js from the KaTeX repository.");
|
||||
console.error();
|
||||
throw e;
|
||||
|
Reference in New Issue
Block a user