Skip to content

which setting to tweak for an "all included" html output #516

Answered by yhatt
horaciosamaniego asked this question in Q&A
Discussion options

You must be logged in to vote

Marp official tools do not provide a way to bundle assets into a single HTML file, because it may be imperfect against references to assets that are dynamically generated in slides (e.g. generated by JavaScript): marp-team/marp-vscode#142 (comment)

Marp community recommends using monolith, a CLI tool to generate a standalone HTML file with assets.

monolith generated-by-marp.html -o self-contained.html

You also can convert Marp Markdown into the standalone HTML with one liner by using Marp CLI.

marp your-markdown.md -o - | monolith - -o output.html

Related

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@horaciosamaniego
Comment options

Answer selected by horaciosamaniego
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants