rivet-plugin-html2md
v0.1.4
Published
<h1 align="center"><img src="https://rivet.ironcladapp.com/img/logo-banner-wide.png" alt="Rivet Logo"></h1>
Downloads
43
Readme
Converts HTML files to Markdown
Using the plugin
In Rivet
To use this plugin in Rivet:
- Navigate to the Project tab in the left sidebar. You will see a + button next to
Plugins, click it to open the Add Plugin modal. - Chose the
HTML to Markdownplugin and click add - There is a new group
Documents to Markdownand a newHTML to Markdownnode - Just chose a directory or activate the input and give it a path to your pdf file
In Code
Load your plugin and Rivet into your application:
import * as Rivet from "@ironclad/rivet-core";
import html2md from "rivet-plugin-html2md";Register your plugin with Rivet be using the globalRivetNodeRegistry or creating a new NodeRegistration and registering with that:
Rivet.globalRivetNodeRegistry.registerPlugin(html2md(Rivet));