🏡 Home


A Rapid Workflow for Publishing CS Teaching Materials

Russell Gordon
Lakefield College School


Motivation

Avoid fiddling with GUI-based page layout, slides, and diagramming software.


Motivation

Satisfy 80/20 rule.


Motivation

Meet the needs of English language learners.

Screenshot 2023-08-15 at 2.31.25 PM.png|700


Benefits

Syntax-highlighted code blocks for most languages.

# Greet the world using a function in Python
def hello_world():
  return "Hello, world!"

Benefits

Math notation using LaTeX: single-line.

x=b±b24ac2a


Benefits

Math notation using LaTeX: multi-line.

a=0.25b=2c=1.5


Benefits

Inline math notation using LaTeX:

Videos take at least 3x units of time to author where x is the length of the video in question.


Benefits

Mermaid: left-right flowchart.

App Entry Point
(NavigationView)
List
(NavigationLink)
Blue Jays
Cheesecake
Claire
Jen
Lasagna
Piper

Benefits

Mermaid: top-down flowchart.

App Entry Point
(NavigationView)
List
(NavigationLink)
Blue Jays
Cheesecake
Claire
Jen
Lasagna
Piper

Benefits

Mermaid: sequence diagram.

AliceJohnHello John, how are you?Great!See you later!AliceJohn

Benefits

Mermaid: class diagram.

Animal
+int age
+String gender
+isMammal()
+mate()
Duck
+String beakColor
+swim()
+quack()
Fish
-int sizeInFeet
-canEat()
Zebra
+bool is_wild
+run()

Benefits

Mermaid: state diagram.

Still
Moving
Crash

Benefits

Mermaid: entity-relationship diagram.

CUSTOMERORDERLINE-ITEMDELIVERY-ADDRESSplacescontainsuses

Benefits

Mermaid: user journey diagrams.

My working dayCatMe
Go to work
Go to work
Me
Make tea
Make tea
Me
Go upstairs
Go upstairs
MeCat
Do work
Do work
Go home
Go home
Me
Go downstairs
Go downstairs
Me
Sit down
Sit down
My working day

Benefits

Mermaid: Gantt charts.

A Gantt Diagram2014-01-052014-01-122014-01-192014-01-262014-02-022014-02-092014-02-16A task          Task in Another another task    Another task    SectionAnotherA Gantt Diagram

Benefits

Mermaid: pie charts.

Pets adopted by volunteers77%17%6%Pets adopted by volunteersDogsCatsRats

Benefits

Mermaid: git graph diagrams.

maindevelop0-27e609b1-2b8c19b2-3669d9d3-6485df15-84e509e6-e47d283

Benefits

Add images quickly by drag and drop.

Screenshot 2023-08-14 at 1.01.16 PM.png|450


Benefits

Use animations to convey key concepts without distraction.

Linear Search Example.gif|600


Benefits

Focus on content, not presentation, by writing in Markdown.


Benefits

Your data is stored in plain text files – less potential for lock-in.


Benefits

Link quickly to existing content.

Screenshot 2023-08-14 at 1.06.26 PM.png|400


Benefits

Publish a searchable site.

Screenshot 2023-08-16 at 1.04.00 PM 1.png


Benefits

Free hosting (at Netlify or Vercel).


Drawbacks

Dependencies on:


Personal Conclusion

Benefits outweigh potential for software failure.

Better than manually writing HTML, using a word processor, or a proprietary content management system.


🏡 Home