Skip to content

Commit fe67c67

Browse files
committed
Remove TeX for now until issues are resolved
1 parent 3b54131 commit fe67c67

6 files changed

Lines changed: 0 additions & 44 deletions

File tree

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@
4545
"jsdom": "^8.4.0",
4646
"jutsu": "^0.1.1",
4747
"markdown-it": "^6.0.1",
48-
"markdown-it-katex": "^2.0.1",
4948
"mocha": "^2.4.5",
5049
"mocha-jsdom": "^1.1.0",
5150
"query-string": "^4.1.0",

src/index.html

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -75,30 +75,6 @@
7575
}
7676
```
7777

78-
### KaTex
79-
80-
Kajero also includes [KaTeX](https://khan.github.io/KaTeX/), a fast maths typesetting library.
81-
82-
Using single dollar signs inline will render your mathematical notation inline.
83-
84-
```
85-
Some maths: $f(x) = \int_{-\infty}^\infty\hat f(\xi)\,e^{2 \pi i \xi x}\,d\xi$
86-
```
87-
88-
Some maths: $f(x) = \int_{-\infty}^\infty\hat f(\xi)\,e^{2 \pi i \xi x}\,d\xi$
89-
90-
Using two dollar signs like so will render it as a block, centered and slightly larger.
91-
92-
```
93-
$$
94-
f(x) = \int_{-\infty}^\infty\hat f(\xi)\,e^{2 \pi i \xi x}\,d\xi
95-
$$
96-
```
97-
98-
$$
99-
f(x) = \int_{-\infty}^\infty\hat f(\xi)\,e^{2 \pi i \xi x}\,d\xi
100-
$$
101-
10278
The Kajero package on [npm](https://www.npmjs.com/package/kajero) contains some command-line tools to create notebooks out of Markdown files. However, you might not want to create a notebook from scratch, so...
10379

10480
## Every notebook is editable

src/js/components/TextBlock.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
import React from 'react';
22
import MarkdownIt from 'markdown-it';
3-
import MarkdownKatex from 'markdown-it-katex';
43
import Block from './Block';
54
import { highlight } from '../util';
65

76
const md = new MarkdownIt({highlight, html: true});
8-
md.use(MarkdownKatex);
97

108
class TextBlock extends Block {
119

src/scss/main.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
@import '../../node_modules/highlight.js/styles/tomorrow';
33
@import '../../node_modules/nvd3/build/nv.d3';
44
@import '../../node_modules/codemirror/lib/codemirror';
5-
@import 'https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.5.1/katex.min.css';
65
@import 'base16-tomorrow-light';
76
@import 'grids';
87
@import 'base';

test/index.html

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,6 @@
4646

4747
<pre style="width: 50%;"><code>print "You can use inline HTML to get styling, which is neat.</code></pre>
4848

49-
Maths rendering is OK too.
50-
51-
$1 + 1 = 2$
52-
53-
$$
54-
1 + 1 = 2
55-
$$
56-
5749
```python
5850
print "You can have code, with syntax highlighting."
5951
print "This is Python - it can't be run in the browser."

test/index.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,6 @@ There is also inline code, like `console.log('thing')`.
3737

3838
<pre style="width: 50%;"><code>print "You can use inline HTML to get styling, which is neat.</code></pre>
3939

40-
Maths rendering is OK too.
41-
42-
$1 + 1 = 2$
43-
44-
$$
45-
1 + 1 = 2
46-
$$
47-
4840
```python
4941
print "You can have code, with syntax highlighting."
5042
print "This is Python - it can't be run in the browser."

0 commit comments

Comments
 (0)