mirror of
https://github.com/maaslalani/slides.git
synced 2026-01-09 14:28:05 -05:00
Update example/slides.md
This commit is contained in:
2
Makefile
2
Makefile
@@ -1,5 +1,5 @@
|
||||
make:
|
||||
go run main.go
|
||||
go run main.go examples/slides.md
|
||||
|
||||
build:
|
||||
go build -o slides
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user