Mercurial > repos > public > wdown
comparison test.md @ 10:1ffe6e4f933c
Add math support through MathJax
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Wed, 17 Jun 2020 22:13:03 +0200 |
parents | a5aa39557726 |
children | 4bcdc24edbe3 |
comparison
equal
deleted
inserted
replaced
9:0a3841171c8f | 10:1ffe6e4f933c |
---|---|
17 func hello(i int) string { | 17 func hello(i int) string { |
18 return fmt.Printf("Hello Mr. %d\n", i) | 18 return fmt.Printf("Hello Mr. %d\n", i) |
19 } | 19 } |
20 ``` | 20 ``` |
21 | 21 |
22 ## Math is also important | |
23 What would the world be like without some of this $f(x) = x^2 + 2x + 1$ | |
24 or even this | |
25 $$ | |
26 \zeta = \frac{1}{N}\sqrt{\sum_{i=1}^N \phi_i(x)} | |
27 $$ | |
28 | |
22 ## Some logic | 29 ## Some logic |
23 | 30 |
24 We also need a table | 31 We also need a table |
25 | 32 |
26 | A | B | A or B | A and B | | 33 | A | B | A or B | A and B | |
35 - [x] Build the simplest possible markdown commandline utility | 42 - [x] Build the simplest possible markdown commandline utility |
36 - [x] Add command-line argument parsing | 43 - [x] Add command-line argument parsing |
37 - [x] Allow template file as an input | 44 - [x] Allow template file as an input |
38 - [ ] Refactor main() to be readable | 45 - [ ] Refactor main() to be readable |
39 - [x] Add possibility to have YAML metadata | 46 - [x] Add possibility to have YAML metadata |
47 - [ ] Try to add music score | |
48 - [ ] Test using v8go to render the music score server side | |
49 - [ ] Try to create an extension | |
50 | |
51 ### Math | |
52 - [ ] Serve MathJax from own server. | |
53 - [ ] Keep investigating if it's possible to use _katex_ with _v8go_ to render math at compile time instead of realying on _MathJax_ to do it in the browser. | |
54 - [ ] Revisit the branch `javascript-experiment` and see if it's possible to get rid of the extra characters rendered by _katex_. | |
40 | 55 |
41 ### Code highlighting | 56 ### Code highlighting |
42 - [ ] Check of other highlighters use the same kind of coloring idea | 57 - [ ] Check of other highlighters use the same kind of coloring idea |
43 - [ ] Check how to style the code coloring | 58 - [ ] Check how to style the code coloring |
44 - [ ] Switch to CSS-class based code coloring | 59 - [ ] Switch to CSS-class based code coloring |