Skip to content

Instantly share code, notes, and snippets.

@yhatt
Last active January 17, 2025 16:00
Show Gist options
  • Save yhatt/c8949276ceab6cd979f0f5c7b7c1b7fc to your computer and use it in GitHub Desktop.
Save yhatt/c8949276ceab6cd979f0f5c7b7c1b7fc to your computer and use it in GitHub Desktop.
Marp custom engine
npm i --save-dev @marp-team/marp-cli gist:c8949276ceab6cd979f0f5c7b7c1b7fc
npx marp --engine marp-custom-engine your-slide.md
export default ({ marp }) => {
console.log('You are using marp-custom-engine.')
return marp
}
{
"name": "marp-custom-engine",
"version": "0.0.0",
"type": "module",
"main": "engine.js",
"author": "Yuki Hattori",
"license": "WTFPL"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment