Created
December 2, 2022 16:34
-
-
Save Delta-in-hub/656c1780df3b36485f994c97ecc5a903 to your computer and use it in GitHub Desktop.
marp.code-snippets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"end-page-of-slide": { | |
"prefix": "end", | |
"body": [ | |
"<!-- _backgroundColor: black -->", | |
"<!-- _color: white -->", | |
"<!-- _paginate: false -->", | |
"", | |
"<div align=\"center\" style=\"font-size: 100px\">", | |
"END", | |
"</div>", | |
"", | |
"<!-- _footer: '***[Delta](https://github.com/Delta-in-hub) 2022/12/02***' -->" | |
], | |
"description": "end-page-of-slide" | |
}, | |
"two-columns": { | |
"prefix": "two", | |
"body": [ | |
"<div class=\"columns\">", | |
" <div class=\"left-side\">", | |
"", | |
" ${1}", | |
"", | |
" </div>", | |
" <div class=\"right-side\">", | |
"", | |
" ${2}", | |
"", | |
" </div>", | |
"</div>", | |
"" | |
], | |
"description": "two-columns" | |
}, | |
"slide-yaml-configure": { | |
"prefix": "slide", | |
"body": [ | |
"---", | |
"marp: true", | |
"paginate: true", | |
"_paginate: false", | |
"math: katex", | |
"", | |
"style: |", | |
" img[alt~=\"center\"] {", | |
" display: block;", | |
" margin: 0 auto;", | |
" }", | |
" .columns {", | |
" display: grid;", | |
" grid-template-columns: repeat(2, minmax(0, 1fr));", | |
" gap: 1rem;", | |
" }", | |
"", | |
"---" | |
], | |
"description": "slide-yaml-configure" | |
}, | |
"center-text": { | |
"prefix": "center", | |
"body": [ | |
"<div align=\"center\">", | |
"", | |
" ${1}", | |
"", | |
"</div>" | |
], | |
"description": "center-text" | |
}, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment