marp-team / marp-cli

A CLI interface for Marp and Marpit based converters
MIT License
1.9k stars 108 forks source link

`--engine @marp-team/marpit` doesn't work well #167

Closed exKAZUu closed 5 years ago

exKAZUu commented 5 years ago

https://github.com/marp-team/marp-cli#zero-js-slide-deck and https://github.com/marp-team/marp-cli#use-marpit-framework use the engine option --engine @marp-team/marpit, but this option makes the background color black (font color is also black, so texts cannot be seen.)

I confirm --engine @marp-team/marp-core works well. So I think we should fix the doc.

exKAZUu commented 5 years ago

I found the default option uses @marp-team/marp-core (c.f. https://github.com/marp-team/marp-cli/blob/master/src/config.ts#L89).

yhatt commented 5 years ago

It's expected behavior. Marpit does not provide theme so you should use theme CSS for getting correct rendering.

Notice that Marpit has not provided theme. It would be good to include inline style in Markdown, or pass CSS file by --theme option.

–– https://github.com/marp-team/marp-cli#use-marpit-framework

exKAZUu commented 5 years ago

I see, thanks.