rainbowflesh / Rose-Pine-For-Marp

Rosé Pine For Marp
MIT License
54 stars 4 forks source link

Doc request: How I use this when running Marpit from npx? #2

Open boldandbusted opened 1 week ago

boldandbusted commented 1 week ago

Howdy. Thanks for this theme. How do I use this if I'm running Marpit like so:

npx @marp-team/marp-cli@3.4.0 -s ./

The README seems to imply perhaps a VSCode usage pattern, but I'm a Linux shell and vim lover. :) Thank you for your kind help in advance! :)

rainbowflesh commented 6 days ago

Follow the marpit document, import css file then marpit.themeSet.add(those_css_file); or,

// 2. Add theme CSS
const theme = `
/* copy and paste styles from rose-pine.css to here*/
`

All themes are just CSS, whether it is marpit or marp-cli, the usage is to import CSS into the code, or use the