hphuongdhsp / How-to-generate-a-slide-by-markdown

A simple example to show how to use marp to convert markdown file to pdf

Home Page:https://marpit.marp.app/markdown

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About

This repository is a simple example to show how to generate a slide presentation by using the markdown.

  • We first install the mark extension in VSCode.
  • Write a markdown file with the following format:
---
theme: gaia
_class: lead
paginate: true
backgroundColor: #fff
backgroundImage: url('https://marp.app/assets/hero-background.svg')
---

![bg left:40% 80%](https://marp.app/assets/marp.svg)

# **Marp**

Markdown Presentation Ecosystem

https://marp.app/

---

# How to write slides

Split pages by horizontal ruler (`---`). It's very simple! :satisfied:

```markdown
# Slide 1

foobar

---

# Slide 2

foobar

For more details, you can find in the presentation.md file.

Enjoy!

About

A simple example to show how to use marp to convert markdown file to pdf

https://marpit.marp.app/markdown