Commit Graph

38 Commits

Author SHA1 Message Date
Ron Kok
4f57d53f6e Show correct browser support (#737)
* Show correct browser support

KaTeX runs in IE 9 but not in IE 8. This PR edits the README and
Contributing files to reflect that fact.

Resolves issue #377.

* Show correct browser support

KaTeX runs in IE 9 but not in IE 8. This PR edits the README and
Contributing files to reflect that fact and adds Edge to browser list.

Resolves issue #377.
2017-06-25 17:50:31 -04:00
Erik Demaine
25dde7f841 Implicit \color, explicitly grouped \textcolor (#619) 2017-06-12 23:11:27 -04:00
Noxx
40ec1b92b8 Fixed missing verb in README (#668) 2017-03-14 11:53:20 -04:00
Kevin Barabash
7aa84d010c Merge pull request #644 from gagern/readmeMacros
Describe site-provided macros in README
2017-01-22 18:21:51 -05:00
Martin von Gagern
59c4e008db Fix case of string in README 2017-01-22 22:39:57 +01:00
Martin von Gagern
079fecaf86 Update README files to 0.7.1 release 2017-01-22 14:48:00 +01:00
Erik Demaine
a5e38d3b8a Switch speed test in README (#640)
Permission to reference page granted in
https://github.com/Khan/KaTeX/issues/420#issuecomment-270810784
2017-01-20 22:50:10 +01:00
Martin von Gagern
a0cd343d85 Improve description of macros
Separate type, meaning and format to clarify the paragraph.
2017-01-13 19:59:36 +01:00
James Lee
90ba0e341d README.md - added integrity (#590)
Integrity generated from https://www.srihash.org/
Reference: https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity
2017-01-13 12:15:28 +01:00
Martin von Gagern
0c5d9d55cf Document macros in options object 2017-01-13 12:13:07 +01:00
Johannes Schmitz
1cf10c4cd6 Update CDN links to latest version (#478) 2016-05-23 11:42:27 -07:00
Mathias Bynens
d5359ef5bb README: Use HTTPS where possible
There’s no reason not to always use HTTPS. See https://github.com/konklone/cdns-to-https#background for more info.
2016-03-01 15:44:45 +01:00
Piotr Migdał
69130d6a19 Readme - set recent version (0.5.1) for CDN links 2015-10-19 16:53:05 +02:00
The Gitter Badger
b9b8396b6f Add Gitter badge 2015-09-25 21:28:31 +00:00
Jeff Everett
e1c221273c Added support for visual depiction of unsupported commands 2015-07-28 00:50:08 -06:00
Kevin Barabash
1a11eb46b2 Added a link to the list of commands on the wiki. 2015-07-01 20:21:55 -06:00
Ben Alpert
0a0a3430b5 Bump version in README
Fixes #241.
2015-06-05 02:00:15 -07:00
Ben Alpert
b2fbd08871 Update README.md 2015-04-03 20:48:51 -07:00
Emily Eisenberg
cd9bca4a89 Add basic auto-render extension
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
2015-04-01 15:57:10 -07:00
Peter Dave Hello
ba3bbe7558 bump version number to v0.2.0 in cdn url 2015-03-08 13:53:43 +08:00
Emily Eisenberg
fd18f6979e Add an optional settings argument to render calls
Summary:
Add the ability to pass in options to the render calls which contain information about the parse. This information is passed around to the parser and builder, which parse and render differently depending on the options. Currently, this includes an option to render the math in display mode (i.e. centered, block level, and in displaystyle).

Also added some changes to make it easier to add new data to functions (now that new data doesn't need to be copied into the ParseFuncOrArg data structure, it is looked up when it is needed) and has more sane support for the `'original'` argType (as suggested by pull request #93).

Test Plan:
 - Make sure tests and lint pass
 - Make sure huxley screenshots didn't change, and new screenshot looks correct

Reviewers: alpert

Reviewed By: alpert

Differential Revision: https://phabricator.khanacademy.org/D13810
2015-02-19 15:26:57 -08:00
Ben Alpert
2ab14ea224 Point to CDNJS in README
Test Plan: http://jsbin.com/mirumuyeku/edit?html,js,output

Auditors: emily
2014-10-19 16:17:11 -07:00
Ben Alpert
a9d5a8782f Fix typos in README 2014-10-15 18:47:33 -07:00
Ben Alpert
c87511168d Add braces around displaystyle
This makes a difference for expressions like `2 \choose 3`.

Auditors: emily
2014-10-15 18:25:12 -07:00
Emily Eisenberg
6aa70e33e4 Merge pull request #137 from cben/displaystyle
Mention `\displaystyle` workaround in README
2014-10-01 15:06:02 -07:00
Ben Alpert
cba70b51fe Make built files use only ASCII characters
Test Plan: Searched for `[^\x00-\x7f]` in vim and had no results, where there were before.

Reviewers: emily

Reviewed By: emily

Differential Revision: http://phabricator.khanacademy.org/D13459
2014-10-01 14:07:11 -07:00
Beni Cherniavsky-Paskin
80c4ca7c71 Mention \displaystyle workaround in README
until the question of display math API (#66) is decided either way...
2014-10-01 18:58:26 +03:00
Ben Alpert
240981e3a2 Merge pull request #70 from mathiasbynens/patch-1
README: Remove redundant `type` attribute
2014-09-23 22:16:25 -07:00
Emily Eisenberg
bd6ebf23dd Merge pull request #54 from adammark/patch-1
Update README.md
2014-09-19 11:49:02 -07:00
Mathias Bynens
2ab395a55f README: Remove redundant type attribute 2014-09-17 15:39:11 +02:00
Adam Mark
5cfa59e5b6 Update README.md
Must specify UTF-8 in document for math characters to render properly.
2014-09-16 11:17:18 -04:00
Jeremy Engel
199bc00385 Fix license typo in README 2014-09-15 18:05:10 -07:00
Emily Eisenberg
032b8a63e6 Improve readme
Add good README and CONTRIBUTING files.

Auditors: alpert
2014-09-15 02:41:19 -07:00
Ben Alpert
79a5687057 Add Travis badge to README
Auditors: emily
2014-09-14 16:02:52 -07:00
Ben Alpert
5b4fa72299 Remove pdiff from README
Test Plan: Crossed fingers.

Auditors: emily
2014-09-06 23:24:26 -07:00
Justin Jaffray
b9bd88764c Add "http://" to links in README
The links didn't parse quite right as it was:
  * https://gist.github.com/justinj/c13560efabceb4f0a2ce
  * Try to click on the links

Test Plan:
* Check out that readme!

Auditors: alex
2014-02-18 17:34:30 -08:00
Alex Lopatin
486d1955b6 Add MIT License
Reviewers: alpert

Reviewed By: alpert

Differential Revision: http://phabricator.khanacademy.org/D6497
2014-01-31 17:47:12 -08:00
Alex Lopatin
a3663ce17c Basic perceptual diffing support for KaTeX
Summary:
This commit adds an HTML file for creating perceptual diffs (pdiff.html),
a reference screenshot of that HTML file (pdiff.png), and a quick script
for comparing that screenshot to a newly generated one (pdiff.js).

Also added a basic README.

Test Plan: make pdiff

Reviewers: alpert

Reviewed By: alpert

Differential Revision: http://phabricator.khanacademy.org/D6415
2014-01-29 16:29:21 -08:00