Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

dmp-hr-to-page-break

mauvm7MIT0.2.2

Documark plugin for converting horizontal rules to page breaks.

documark-plugin, documark, hr, horizontal rule, page break, new page

readme

Documark <hr/> → page-break

npm version dependency status

Documark plugin for converting horizontal rules to page breaks.

Usage

  1. Add plugin to document configuration:

     plugins:
       - dmp-hr-to-page-break
  2. Add horizontal rules for forced page-breaks:

    • <hr/> in HTML;
    • hr in Jade;
    • --- in Markdown.

Note: An <hr/> with attributes will not be replaced.