marp | theme |
---|---|
true |
default |
Marp diagram plugin example
Powered by kroki.io
const marpHideSlidesPlugin = (md) => { | |
md.marpit.customDirectives.local.hide = (value) => ({ | |
hide: value === 'true', | |
}) | |
md.core.ruler.after( | |
'marpit_directives_apply', | |
'marpit_hide_slides', | |
(state) => { | |
let withinSlide = false |
marp | theme |
---|---|
true |
default |
Powered by kroki.io
title | _class | theme | style | marp |
---|---|---|---|---|
Marp CLI experimental transitions |
lead gaia |
gaia |
pre {
font-size: 60px;
}
|
true |
npm i @marp-team/marp-cli @marp-team/marp-core markdown-it-admon | |
npx marp --engine engine.js slide.md |
marp | theme |
---|---|
true |
gaia |
theme | paginate | _paginate | title | header | footer |
---|---|---|---|---|---|
uncover |
true |
false |
UNCOVER THEME |
UNCOVER THEME |
A brand-new theme of Marp core |
#!/bin/sh | |
usage() { | |
echo "Usage: ${0##*/} [-o output] [-r framerate] [-f ffmpeg-filter] [-s width:height] input" 1>&2 | |
echo "" | |
echo "Examples:" | |
echo " ${0##*/} foo.mp4 : Output GIF to foo.gif" | |
echo " ${0##*/} -o bar.gif foo.mp4 : Output GIF to bar.gif" | |
echo " ${0##*/} -r 10 foo.mp4 : Set framerate as 10" | |
echo " ${0##*/} -s 320:-1 foo.mp4 : Resize width to 320px with fixed aspect-ratio" |