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 including only whitespace by setting hidden: true.
It also sweeps the inline token marked as hidden forcefully. Please notice that plugins executed after this cannot handle hidden inline tokens.
Parameters:
| Name | Type | Description |
|---|---|---|
md | MarkdownIt | markdown-it instance. |
- Source