mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-09 04:58:40 +00:00
DOC: Fix path to built file (#1976)
This commit is contained in:
committed by
Erik Demaine
parent
f9dafea6a6
commit
d1dfd88166
@@ -43,4 +43,4 @@ The default build of KaTeX expects the KaTeX fonts to be located in a directory
|
||||
|
||||
1. At the top of the [fonts.less](https://github.com/KaTeX/katex-fonts/blob/master/fonts.less) file, set `@font-folder` to the location of your fonts. You can use relative or absolute paths, so setting it to `"/fonts"` would cause it to search for the fonts in a root `fonts` folder, while `"../fonts"` would search in a `fonts` directory one level above the `katex.min.css` file.
|
||||
2. Rebuild KaTeX by running `yarn build` from the top-level directory.
|
||||
3. Use the newly generated `build/katex.min.css` file, and place the fonts where you indicated.
|
||||
3. Use the newly generated `dist/katex.min.css` file, and place the fonts where you indicated.
|
||||
|
Reference in New Issue
Block a user