mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-04 18:58:39 +00:00
Summary: Add an auto-render extension to render math on a page. It exposes a global function (maybe we should attach it to `katex`?) to render math in an element. It comes with a README on how to use it. Also, make `make build` build the minified file. Fixes #26 Test Plan: - Visit http://localhost:7936/contrib/auto-render/ - See that all of the math renders correctly - `make test` Reviewers: alpert, kevinb Reviewed By: kevinb Differential Revision: https://phabricator.khanacademy.org/D16620
30 lines
573 B
JSON
30 lines
573 B
JSON
{
|
|
"name": "katex",
|
|
"version": "0.2.0",
|
|
"description": "Fast math typesetting for the web.",
|
|
"main": "katex.js",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/Khan/KaTeX.git"
|
|
},
|
|
"files": [
|
|
"katex.js",
|
|
"cli.js",
|
|
"src/"
|
|
],
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"browserify": "~2.29.1",
|
|
"clean-css": "~2.2.15",
|
|
"express": "~3.3.3",
|
|
"jasmine-node": "2.0.0-beta4",
|
|
"jshint": "^2.5.6",
|
|
"less": "~1.7.5",
|
|
"uglify-js": "~2.4.15"
|
|
},
|
|
"bin": "cli.js",
|
|
"scripts": {
|
|
"test": "make lint test"
|
|
}
|
|
}
|