Update example/slides.md

This commit is contained in:
Maas Lalani
2021-06-12 16:18:53 -04:00
parent d9fef570d8
commit 5d87d2a28a
2 changed files with 25 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
make:
go run main.go
go run main.go examples/slides.md
build:
go build -o slides

View File

@@ -25,6 +25,8 @@ In fact this entire presentation is a markdown file
##### h5
###### h6
---
# Markdown components
You can use everything in markdown!
* Like bulleted list
@@ -32,14 +34,34 @@ You can use everything in markdown!
1. Numbered lists too
---
# Tables
| Tables | Too |
| ------ | ------ |
| Even | Tables |
---
All you need to do is separate slides with triple dashes `---` on a separate line,
like so:
# Graphs
```
digraph {
rankdir = LR;
a -> b;
b -> c;
}
```
┌───┐ ┌───┐ ┌───┐
│ a │ ──▶ │ b │ ──▶ │ c │
└───┘ └───┘ └───┘
---
All you need to do is separate slides with triple dashes
`---` on a separate line, like so:
```markdown
# Slide 1