mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-06 11:48:41 +00:00
* Added MathJax compatibility script * Removed make integrity, which release.sh handles * Renamed scripts * Use katex.render (and options) instead of manually string munging * Rewrote code based on feedback * Renamed file correctly * Extended README with an example of usage * Removed CDN paths in place of an abstract path * Revert "Removed CDN paths in place of an abstract path" This reverts commit 857f8de2e449d9ac5a3d8eab5104dac561c533c4. * Replace versions with `...`, with note to avoid confusing users * Revert some `...` replacements to files that do exist.
10 lines
285 B
Makefile
10 lines
285 B
Makefile
.PHONY: build integrity
|
|
|
|
build: $(BUILDDIR)/contrib/mathtex-script-type.min.js
|
|
|
|
$(BUILDDIR)/contrib/mathtex-script-type.min.js: $(BUILDDIR)/mathtex-script-type.js
|
|
$(UGLIFYJS) < $< > $@
|
|
|
|
$(BUILDDIR)/mathtex-script-type.js: mathtex-script-type.js
|
|
$(BROWSERIFY) -t [ babelify ] $< > $@
|