diff --git a/README.md b/README.md new file mode 100644 index 0000000..0b2a77a --- /dev/null +++ b/README.md @@ -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 +``` diff --git a/images/keynote.jpg b/images/keynote.jpg new file mode 100644 index 0000000..20f2df6 Binary files /dev/null and b/images/keynote.jpg differ diff --git a/index.html b/index.html new file mode 100644 index 0000000..b57a90d --- /dev/null +++ b/index.html @@ -0,0 +1,108 @@ +
+

Some big title

+

Some subtitle

+
Some footer
+
+
+

This is very important

+
    +
  • one
  • +
  • two
  • +
  • three
  • +
+
Some footer
+
+
+

+
+
+

Some code

+
function add(a: number, b: number) {
+  return a + b
+}
+
+const c = add(1, 2) // 3
+
+
Some footer
+
+
\ No newline at end of file diff --git a/presi.md b/presi.md new file mode 100644 index 0000000..208d4d3 --- /dev/null +++ b/presi.md @@ -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; + } +--- + + + + + +# Some big title + +Some subtitle + +--- + +# This is very important + +- one +- two +- three + +--- + + + +## ![bg](./images/keynote.jpg) + +--- + +# Some code + +```ts +#include(./src/example.ts) +``` diff --git a/src/example.ts b/src/example.ts new file mode 100644 index 0000000..b0a565a --- /dev/null +++ b/src/example.ts @@ -0,0 +1,5 @@ +function add(a: number, b: number) { + return a + b +} + +const c = add(1, 2) // 3