npm i --save-dev @marp-team/marp-cli gist:c8949276ceab6cd979f0f5c7b7c1b7fc
npx marp --engine marp-custom-engine your-slide.md
Regular text is only visible to you. Headlines go on the slide.
Unlike popular Markdown slide tools, iA Presenter has a unique approach to displaying written content in Markdown.
Are you looking at its innovative approach with longing eyes? No need to wait with your fingers crossed; the same feature can be achieved in Marp using a plugin.
git clone https://gist.github.com/54a1b07ff41485920d370e864860b8a8.git ia_presenter_style_notes
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
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 |
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
npm i @marp-team/marp-cli @marp-team/marp-core markdown-it-admon | |
npx marp --engine engine.js slide.md |
NewerOlder