Skip to content
Permalink
Browse files
Bundle KaTeX
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Apr 25, 2015
1 parent 60f1f88 commit 5204bdba1b1b63269deefe031da0d6c0081809f9
Show file tree
Hide file tree
Showing 106 changed files with 201 additions and 32 deletions.
@@ -12,6 +12,7 @@
"bootstrap": "~3.3.2",
"jquery": "<2.0.0",
"jquery-colorbox": "~1.5.14",
"moment": "~2.8.4"
"moment": "~2.8.4",
"katex-build": "~0.3.0"
}
}
@@ -0,0 +1,36 @@
{
"name": "katex-build",
"version": "0.3.0",
"authors": [
"Tyler Long <tyler4long@gmail.com>"
],
"description": "The fastest math typesetting library for the web.",
"main": "katex.min.js",
"keywords": [
"katex",
"tex",
"typesetting",
"math"
],
"license": "MIT",
"homepage": "http://khan.github.io/KaTeX/",
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"test",
"tests",
"README.md",
"fabfile.py"
],
"_release": "0.3.0",
"_resolution": {
"type": "version",
"tag": "v0.3.0",
"commit": "1f9c3ed4b92c52feea802acf2e5bcb21a974f037"
},
"_source": "git://github.com/tylerlong/katex-build.git",
"_target": "~0.3.0",
"_originalSource": "katex-build",
"_direct": true
}
@@ -0,0 +1,26 @@
{
"name": "katex-build",
"version": "0.3.0",
"authors": [
"Tyler Long <tyler4long@gmail.com>"
],
"description": "The fastest math typesetting library for the web.",
"main": "katex.min.js",
"keywords": [
"katex",
"tex",
"typesetting",
"math"
],
"license": "MIT",
"homepage": "http://khan.github.io/KaTeX/",
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"test",
"tests",
"README.md",
"fabfile.py"
]
}

Some generated files are not rendered by default. Learn more.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

@@ -55,32 +55,46 @@ lang="{{ lang }}">
{% else %}
<!--[if lt IE 9]><script src="{{ url_replacer(permalink, '/assets/js/html5.js', lang) }}"></script><![endif]-->
{% endif %}
<script src="//cdnjs.cloudflare.com/ajax/libs/KaTeX/0.3.0/katex.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/KaTeX/0.3.0/contrib/auto-render.min.js"></script>
{{ extra_head_data }}
{% endmacro %}

{% macro late_load_js() %}
{% if use_cdn %}
<script src="//cdnjs.cloudflare.com/ajax/libs/KaTeX/0.3.0/katex.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/KaTeX/0.3.0/contrib/auto-render.min.js"></script>
{% else %}
{% if use_bundles %}
<script src="/assets/js/all-nocdn.js"></script>
{% else %}
<script src="/assets/js/katex.min.js"></script>
<script src="/assets/js/katex-auto-render.min.js"></script>
{% endif %}
{% endif %}
{{ social_buttons_code }}
{{ katex_config }}
{% endmacro %}

{% macro html_stylesheets() %}
{% if use_bundles %}
{% if use_cdn %}
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/KaTeX/0.3.0/katex.min.css">
<link href="/assets/css/all.css" rel="stylesheet" type="text/css">
{% else %}
<link href="/assets/css/all-nocdn.css" rel="stylesheet" type="text/css">
{% endif %}
{% else %}
{% if use_cdn %}
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/KaTeX/0.3.0/katex.min.css">
{% else %}
<link href="/assets/css/katex.min.css" rel="stylesheet" type="text/css">
{% endif %}
<link href="/assets/css/rst.css" rel="stylesheet" type="text/css">
<link href="/assets/css/code.css" rel="stylesheet" type="text/css">
<link href="/assets/css/theme.css" rel="stylesheet" type="text/css">
{% if has_custom_css %}
<link href="/assets/css/custom.css" rel="stylesheet" type="text/css">
{% endif %}
{% endif %}
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/KaTeX/0.3.0/katex.min.css">
{% endmacro %}

{% macro html_feedlinks() %}