Add Building from Source & update Security documentation (#1516)

* Add `Building from Source` documentation

* Update security.md documentation

* Fix grammars
This commit is contained in:
ylemkimon
2018-07-30 03:18:44 +09:00
committed by GitHub
parent e97a23ec6d
commit 702b3c807f
4 changed files with 31 additions and 6 deletions

View File

@@ -19,5 +19,22 @@ yarn add katex
# or globally
yarn global add katex
```
## Building from Source
To build you will need Git, Node.js 6.9 or later, and npm or Yarn.
Clone a copy of the GitHub source repository:
```bash
git clone https://github.com/Khan/KaTeX.git
cd KaTeX
```
Then install dependencies and run `build` script:
```bash
npm install # or yarn install
npm run build # or yarn build
```
<br>
> You can manually download the package from [here](https://github.com/Khan/KaTeX/releases)
> You can manually download the package and source code from
[GitHub releases](https://github.com/Khan/KaTeX/releases).