example keynote

This commit is contained in:
Niccolo Borgioli 2023-11-10 16:03:10 +01:00
parent 4307617e4f
commit ae39d54269
No known key found for this signature in database
GPG Key ID: D93C615F75EE4F0B
5 changed files with 184 additions and 0 deletions

25
README.md Normal file
View File

@ -0,0 +1,25 @@
# Marp Template
This is a [Marp](https://marp.app/) template that includes
- [Rose Pine theme](https://github.com/rainbowflesh/Rose-Pine-For-Marp)
- [Plugin for loading files](https://github.com/camelaissani/markdown-it-include) (e.g. use code snippets)
- Sensible defaults
## Install
> Uses [bun](https://bun.sh/).
```bash
bun i
bun run dev
# http://localhost
```
## Present
```bash
bun run build
bun run serve
# http://localhost
```

BIN
images/keynote.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 712 KiB

108
index.html Normal file

File diff suppressed because one or more lines are too long

46
presi.md Normal file
View File

@ -0,0 +1,46 @@
---
marp: true
theme: rose-pine-moon
author: cupcakearmy
footer: Some footer
paginate: true
style: |
section { justify-content: start; }
pre {
max-height: calc(100vh);
overflow: auto;
}
---
<style scoped>section { justify-content: center; }</style>
<!--_paginate: false -->
# Some big title
Some subtitle
---
# This is very important
- one
- two
- three
---
<!--
_paginate: false
_footer: ''
-->
## ![bg](./images/keynote.jpg)
---
# Some code
```ts
#include(./src/example.ts)
```

5
src/example.ts Normal file
View File

@ -0,0 +1,5 @@
function add(a: number, b: number) {
return a + b
}
const c = add(1, 2) // 3