create-marp-slides
Create Marp-based slides from elegant source files
create-marp-slides is a tool for generating an entire project structure in order to create the slides of a Marp-based presentation - in both PDF and HTML format.
According to such an elegant project structure, the Markdown source document is decoupled from the custom, external Sass styling theme; furthermore, its package.json includes a wide range of script's to handle the different tasks all over its lifecycle.
To create your own project, please run:
yarn create @giancosta86/marp-slides [<directory>]
or
npm init @giancosta86/marp-slides[@latest] [<directory>]
The directory is optional:
-
if it does not exist, it will be created
-
if omitted, the current working directory will be used, potentially overwriting but never deleting existing files
Please, refer to the generated README file for further details.
Environment variable
You can set a few environment variables in order to make the app provide default prompt values when creating a new project:
-
CREATE_MARP_SLIDES_AUTHOR_NAME
-
CREATE_MARP_SLIDES_AUTHOR_EMAIL
-
CREATE_MARP_SLIDES_AUTHOR_WEBSITE
-
CREATE_MARP_SLIDES_NODE_VERSION
Further references
- Platonic - EJS-based directory reification engine