Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 31 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,20 @@ Add below into your VSCode setting.

```json
"markdown.marp.themes": [
"https://raw.githubusercontent.com/pn11/marp-A4-theme/main/themes/A4.css",
"https://raw.githubusercontent.com/honyaplan/marp-paper-size-theme/main/themes/A3_Landscape.css",
"https://raw.githubusercontent.com/honyaplan/marp-paper-size-theme/main/themes/A3_Portrait.css",
"https://raw.githubusercontent.com/honyaplan/marp-paper-size-theme/main/themes/A4_Landscape.css",
"https://raw.githubusercontent.com/honyaplan/marp-paper-size-theme/main/themes/A4_Portrait.css",
"https://raw.githubusercontent.com/honyaplan/marp-paper-size-theme/main/themes/A5_Landscape.css",
"https://raw.githubusercontent.com/honyaplan/marp-paper-size-theme/main/themes/A5_Portrait.css",
"https://raw.githubusercontent.com/honyaplan/marp-paper-size-theme/main/themes/A6_Landscape.css",
"https://raw.githubusercontent.com/honyaplan/marp-paper-size-theme/main/themes/A6_Portrait.css",
"https://raw.githubusercontent.com/honyaplan/marp-paper-size-theme/main/themes/B3_Landscape.css",
"https://raw.githubusercontent.com/honyaplan/marp-paper-size-theme/main/themes/B3_Portrait.css",
"https://raw.githubusercontent.com/honyaplan/marp-paper-size-theme/main/themes/B4_Landscape.css",
"https://raw.githubusercontent.com/honyaplan/marp-paper-size-theme/main/themes/B4_Portrait.css",
"https://raw.githubusercontent.com/honyaplan/marp-paper-size-theme/main/themes/B5_Landscape.css",
"https://raw.githubusercontent.com/honyaplan/marp-paper-size-theme/main/themes/B5_Portrait.css",
],
```

Expand All @@ -17,9 +30,25 @@ Specify the theme in your markdown header.
```markdown
---
marp: true
theme: A4
theme: A4-Portrait
---

A3_Landscape
A3-Portrait
A4_Landscape
A4-Portrait
A5_Landscape
A5-Portrait
A6_Landscape
A6-Portrait
B3_Landscape
B3-Portrait
B4_Landscape
B4-Portrait
B5_Landscape
B5-Portrait


# My slide

This is slide.
Expand Down
26 changes: 26 additions & 0 deletions themes/A3_Landscape.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/* @theme A3-Landscape */

@import 'default';

section {
/* A3 document size */

width: 420mm;
height: 297mm;
}

h2 {
font-size: 30px;
}

h3 {
font-size: 25px;
}

p {
font-size: 20px;
}

li {
font-size: 20px;
}
26 changes: 26 additions & 0 deletions themes/A3_Portrait.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/* @theme A3-Portrait */

@import 'default';

section {
/* A3 document size */

width: 297mm;
height: 420mm;
}

h2 {
font-size: 30px;
}

h3 {
font-size: 25px;
}

p {
font-size: 20px;
}

li {
font-size: 20px;
}
26 changes: 26 additions & 0 deletions themes/A4_Landscape.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/* @theme A4-Landscape */

@import 'default';

section {
/* A4 document size */

width: 297mm;
height: 210mm;
}

h2 {
font-size: 30px;
}

h3 {
font-size: 25px;
}

p {
font-size: 20px;
}

li {
font-size: 20px;
}
3 changes: 2 additions & 1 deletion themes/A4.css → themes/A4_Portrait.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
/* @theme A4 */
/* @theme A4-Portrait */

@import 'default';

section {
/* A4 document size */

width: 210mm;
height: 297mm;
}
Expand Down
25 changes: 25 additions & 0 deletions themes/A5_Landscape.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/* @theme A5-Landscape */

@import 'default';

section {
/* A5 document size */

width: 210mm;
height: 148mm;
}
h2 {
font-size: 30px;
}

h3 {
font-size: 25px;
}

p {
font-size: 20px;
}

li {
font-size: 20px;
}
26 changes: 26 additions & 0 deletions themes/A5_Portrait.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/* @theme A5-Portrait */

@import 'default';

section {
/* A5 document size */

width: 148mm;
height: 210mm;
}

h2 {
font-size: 30px;
}

h3 {
font-size: 25px;
}

p {
font-size: 20px;
}

li {
font-size: 20px;
}
26 changes: 26 additions & 0 deletions themes/A6_Landscape.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/* @theme A6-Landscape */

@import 'default';

section {
/* A6 document size */

width: 148mm;
height: 105mm;
}

h2 {
font-size: 30px;
}

h3 {
font-size: 25px;
}

p {
font-size: 20px;
}

li {
font-size: 20px;
}
26 changes: 26 additions & 0 deletions themes/A6_Portrait.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/* @theme A6-Portrait */

@import 'default';

section {
/* A6 document size */

width: 105mm;
height: 148mm;
}

h2 {
font-size: 30px;
}

h3 {
font-size: 25px;
}

p {
font-size: 20px;
}

li {
font-size: 20px;
}
26 changes: 26 additions & 0 deletions themes/B3_Landscape.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/* @theme B3-Landscape */

@import 'default';

section {
/* B3 document size */

width: 500mm;
height: 353mm;
}

h2 {
font-size: 30px;
}

h3 {
font-size: 25px;
}

p {
font-size: 20px;
}

li {
font-size: 20px;
}
26 changes: 26 additions & 0 deletions themes/B3_Portrait.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/* @theme B3-Portrait */

@import 'default';

section {
/* B3 document size */

width: 353mm;
height: 500mm;
}

h2 {
font-size: 30px;
}

h3 {
font-size: 25px;
}

p {
font-size: 20px;
}

li {
font-size: 20px;
}
27 changes: 27 additions & 0 deletions themes/B4_Landscape.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@

/* @theme B4-Landscape */

@import 'default';

section {
/* B4 document size */

width: 353mm;
height: 250mm;
}

h2 {
font-size: 30px;
}

h3 {
font-size: 25px;
}

p {
font-size: 20px;
}

li {
font-size: 20px;
}
26 changes: 26 additions & 0 deletions themes/B4_Portrait.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/* @theme B4-Portrait */

@import 'default';

section {
/* B4 document size */

width: 250mm;
height: 353mm;
}

h2 {
font-size: 30px;
}

h3 {
font-size: 25px;
}

p {
font-size: 20px;
}

li {
font-size: 20px;
}
26 changes: 26 additions & 0 deletions themes/B5_Landscape.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/* @theme B5-Portrait */

@import 'default';

section {
/* B5 document size */

width: 176mm;
height: 250mm;
}

h2 {
font-size: 30px;
}

h3 {
font-size: 25px;
}

p {
font-size: 20px;
}

li {
font-size: 20px;
}
Loading