Ink Elements is a library of custom elements for publishing documents via HTML and CSS. Features include:
Install the component:
$ npm install ink-elements --save
Import custom element:
<script type="module" src="node_modules/ink-elements/ink-doc.js">
You can reference another page with the ink-page-xref
component:
<p>See page <ink-page-xref ref="html-id"></ink-page-xref>.</p>
See page
To publish as a PDF the simplest, most reliable way is via Chrome's PDF preview feature: