Skip to content

Latest commit

 

History

History
150 lines (104 loc) · 2.35 KB

note.md

File metadata and controls

150 lines (104 loc) · 2.35 KB
marp title author theme backgroundColor color style math paginate
true
Winson
gaia
white
black
section { font-size: 25px; }
katex
true

This is Title

You can add title to a pic, title font size can be modified.

Use --- to make a page.


Title of a page

Like markdown, different numbers of # are titles.

Add a <br/> as empty line.


Most attractive thing is that almost everything in markdown can be put into marp slides.

Bold contents is ok.

Italic and deleted too.

Latex Math Content:

$$ \sin^2a + \cos^2a = 1 \\ \sin2a = 2\sin a \cos a $$


Codes:

def fun():
    print("hello")

Inline math and code:

If $\mathbf{a}$ and $\mathbf{b}$ are catheti, $\mathbf{c}$ is hypotenuse, $a^2+b^2=c^2$ is always right.

echo hello print hello in bash.

Tables:

ColA ColB ColC
apple ae pl
orange aoe rng

An inline image:

w:200 contrast:200%

One page can contains multiple inline images:

w:200 h:200


bg 40%

You can also use w/h to resize width and height of a BackGround like inline image.


bg left:50% 40%

This is a List

  1. You can put BG left or right.
  2. You can put multiple images in BG

This is a List one by one.

  1. For more image syntax visit
  2. https://marpit.marp.app/image-syntax

Unordered List:

  • You can also set BG with Directives.
  • In this way position and size are configurable.

Unorderd one by one:

  • One
  • Two

If you want to add many pic and set their positions, you can use HTML.


Above is the tip of a substantial iceberg, try marp and VISIT https://marp.app/ to explore more!