
Summary: Create a fonts.less file which generates identical css to fonts.css, but using less rules to be more understandable and customizable. For example, add the ability to change where the fonts directory is located (instead of mandating it be located next to the less file), and add the ability to disable specific font formats (like disable EOTs when IE8 support isn't needed). Test Plan: - Ensure that the test page and huxley page still work - Ensure that the output of `./node_modules/.bin/lessc static/fonts.less` is the same as the original css by running both through `./node_modules/.bin/cleancss` and diffing them. - Ensure that the huxley screenshots haven't changed - Ensure that the build step still works Reviewers: alpert Reviewed By: alpert Differential Revision: http://phabricator.khanacademy.org/D13326
18 lines
690 B
HTML
18 lines
690 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>KaTeX Test</title>
|
|
<script src="katex.js" type="text/javascript"></script>
|
|
<link href="katex.css" rel="stylesheet" type="text/css">
|
|
<link href="main.css" rel="stylesheet" type="text/css">
|
|
</head>
|
|
<body>
|
|
<input type="text"
|
|
value="(\left( x \right) \left( x^2 \right) \left( \frac{a}{b} \right) \left( \frac{a^2}{b} \right) \left( \dfrac{a}{b} \right) \left( \dfrac{a^2}{b} \right)"
|
|
id="input" />
|
|
<div id="math"></div>
|
|
<input id="permalink" type="button" value="permalink">
|
|
<script src="main.js" type="text/javascript"></script>
|
|
</body>
|
|
</html>
|