From faf69f238a1d99d121c9f8f63d4bdf9d709dd2cf Mon Sep 17 00:00:00 2001 From: Mike Parker Date: Mon, 15 Sep 2014 12:49:55 -0700 Subject: [PATCH] Fix links to JS source files These links were missing the `src` path component. --- CONTRIBUTING.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 55e3bc9e2..ef8e86832 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -18,7 +18,8 @@ function in the interactive demo at #### Single symbols There are many individual symbols that KaTeX doesn't yet support. Read through -the [symbols.js](symbols.js) file for more information on how to add a symbol. +the [symbols.js](src/symbols.js) file for more information on how to add a +symbol. To figure out the unicode symbol for the symbol you are trying to add, try using the symbol in MathJax to see what unicode symbol it outputs. An interactive @@ -36,14 +37,14 @@ If you do, check out [extract_ttfs.py](metrics/extract_ttfs.py). #### Adding new functions -Most functions are handled in the [functions.js](functions.js) file. Read the -comments in there to get started. If the function you want to add has similar -output to an existing function, see if you can add a new line to that file to -get it to work. +Most functions are handled in the [functions.js](src/functions.js) file. Read +the comments in there to get started. If the function you want to add has +similar output to an existing function, see if you can add a new line to that +file to get it to work. If your function isn't similar to an existing function, you'll need to add a line to `functions.js` as well as adding an output function in -[buildTree.js](buildTree.js). +[buildTree.js](src/buildTree.js). ## Testing @@ -104,4 +105,4 @@ In general, try to make your code blend in with the surrounding code. ## License -KaTeX is licenced under the [MIT License](http://opensource.org/licenses/MIT). \ No newline at end of file +KaTeX is licenced under the [MIT License](http://opensource.org/licenses/MIT).