Select a document result
Nepali documents, converted faithfully
Likhit is
Jawafdehi's public
MarkItDown
plugin for Nepal-specific document support. It adds Nepali PDF
repair, layout-aware Markdown assembly, optional OCR for
image-dominant pages, and legacy .doc support. For PDFs
it evaluates several extraction paths and returns the best result
rather than trusting one fixed pipeline.
pip install likhit
Then enable plugins when you convert:
MarkItDown(enable_plugins=True), or from the CLI
markitdown --use-plugins document.pdf.
-
Devanagari repair Recovers conjuncts and matras that ordinary extraction turns into replacement characters.
-
Layout-aware Markdown Reconstructs reading order and tables instead of emitting a flat character dump.
-
OCR when needed Falls back to a vision model on image-only pages, which no text layer can serve.
-
Legacy formats Reads the
.docand Preeti-era files government archives are actually made of.
Convert from the command line
The package installs likhit-save, a helper that runs
MarkItDown with the plugin enabled and writes the Markdown out for
you — no Python needed.
-
One file
likhit-save notice.pdf --out notice.md -
Many files
likhit-save a.pdf b.pdf --out-dir converted/ -
Page range
likhit-save report.pdf --pages 2-4 --out pages.md
Benchmark
Every result below is generated from real, published government documents — no synthetic fixtures — and re-run on each commit. Pick a document to read what Likhit extracted, compare the OCR configurations, and check the assertions that gate the build.