mirror of
https://github.com/cupcakearmy/marp-template.git
synced 2024-11-01 03:04:12 +01:00
example keynote
This commit is contained in:
parent
4307617e4f
commit
ae39d54269
25
README.md
Normal file
25
README.md
Normal 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
BIN
images/keynote.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 712 KiB |
108
index.html
Normal file
108
index.html
Normal file
File diff suppressed because one or more lines are too long
46
presi.md
Normal file
46
presi.md
Normal 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
5
src/example.ts
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
function add(a: number, b: number) {
|
||||||
|
return a + b
|
||||||
|
}
|
||||||
|
|
||||||
|
const c = add(1, 2) // 3
|
Loading…
Reference in New Issue
Block a user