pdf

package
v0.0.0-...-978d0fb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 16, 2026 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Export

func Export(md []byte, outPath string) error

func ExportBlocks

func ExportBlocks(blocks []interfaces.EditorBlock, outPath string) error

func Import

func Import(path string) (string, error)

Import reads a PDF document and returns a Pact document. PDFs are visual documents, so this importer preserves the Pact-supported styles that can be inferred reliably from positioned text: headings, alignment, lists, bold spans, and horizontal rules.

Types

This section is empty.

Source Files

  • exporter.go
  • importer.go

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL