Methods

(inner) sweep(md)

Marpit sweep plugin.

Hide blank paragraphs. For better support of the background image syntax and directives through HTML comment, Marpit will sweep paragraphs included only whitespace by setting hidden: true.

It also sweep the inline token marked as hidden forcely. Please notice that plugins executed after this cannot handle hidden inline tokens.

Parameters:
NameTypeDescription
mdMarkdownIt

markdown-it instance.