ai-made-approachable / rivet-plugin-pdf2md

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rivet Logo

Converts PDF files to Markdown

Using the plugin

In Rivet

To use this plugin in Rivet:

  1. 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.
  2. Chose the PDF to Markdown plugin and click add
  3. There is a new group PDF2MDand a new PDF to Markdown node
  4. 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 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));

About


Languages

Language:TypeScript 100.0%