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
PDF to Markdown
plugin and click add - There is a new group
PDF2MD
and a newPDF to Markdown
node - Just chose a directory or activate the input and give it a path to your pdf file
Load your plugin and Rivet into your application:
import * as Rivet from "@ironclad/rivet-core";
import pdf2md from "rivet-plugin-pdf2md";
Register your plugin with Rivet be using the globalRivetNodeRegistry
or creating a new NodeRegistration
and registering with that:
Rivet.globalRivetNodeRegistry.registerPlugin(pdf2md(Rivet));