marp-cli icon indicating copy to clipboard operation
marp-cli copied to clipboard

Detect the title of deck from first slide when title option is not passed

Open yhatt opened this issue 6 years ago • 0 comments

It would be good to fill the title for converted HTML automatically from the heading of title slide when --title option (and title global directive) is not passed.

We make this plan from TODO comment in Marp CLI meta plugin.

https://github.com/marp-team/marp-cli/blob/5f6635af91ddd0f125c07c01b9a04e1a0c04864c/src/engine/meta-plugin.ts#L23

The other similar tool also has a plan for auto-filling of the title: https://github.com/jxnblk/mdx-deck/issues/103 (v3)

yhatt avatar Aug 04 '19 17:08 yhatt