Math, Diagrams, and Flowcharts

Charts and Diagrams


Fusuma uses mermaid but need to install mermaid manually.


# fusumarc.yml

slide:
  chart: true # the default is false
$ npm i mermaid
\`\`\`mermaid
graph TD;
A-->B;
A-->C;
B-->D;
C-->D;
\`\`\`
\`\`\`mermaid
gantt
dateFormat YYYY-MM-DD
title Adding GANTT diagram to mermaid
excludes weekdays 2014-01-10

section A section
Completed task :done, des1, 2014-01-06,2014-01-08
Active task :active, des2, 2014-01-09, 3d
Future task : des3, after des2, 5d
Future task2 : des4, after des3, 5d
\`\`\`

Math


# .fusumarc.yml

slide:
  math: true
$$
\textrm{padSize} = \lceil \log_{10}(\mathbf{arraySize} + 1) \rceil
$$
padSize=log10(arraySize+1) \textrm{padSize} = \lceil \log_{10}(\mathbf{arraySize} + 1) \rceil