How rupakkumar-76319/fmjl works
FMJL is a document-format and conversion toolkit for authoring Markdown and machine-oriented JSON Lines documents, with stable element IDs, hashes, page positions, and access metadata. Its main workflow is: a user converts or imports a document, checks and edits the resulting FMJL/Markdown forms, then exports it or creates RAG-ready chunks. The Python package implements conversion, validation, import, export, and retrieval features; the VS Code extension provides an editor-based conversion and checking path. Relationships for user-facing capabilities are based on README statements; source excerpts also show the extension’s converter and validator dependencies.
Main entry points: __init__.py FMJL commands · rag_demo.py RAG application · extension.js VS Code editor · validator.js Extension validator
Components 17
Python document toolkit
- FMJL commands
fmjl/__init__.py - Markdown converter
fmjl/__init__.py - FMJL document I/O
fmjl/__init__.py - Metadata fill
fmjl/__init__.py - Rule checker
fmjl/__init__.py - Markdown view
fmjl/__init__.py - Version upgrade
fmjl/__init__.py
Document import
- PDF importer
fmjl/pdf.py - Word importer
fmjl/docx.py - Format export
fmjl/export.py
RAG retrieval
- Chunk builder
fmjl/__init__.py - Changed chunks
fmjl/__init__.py - RAG application
examples/rag_demo.py
VS Code authoring
- VS Code editor
fmjl-vscode/src/extension.js - Extension converter
fmjl-vscode/src/converter.js - Extension validator
fmjl-vscode/src/validator.js
Other components
- Document author
Connections 20
- Document author → FMJL commands: runs commands
README.md - FMJL commands → Markdown converter: converts Markdown
README.md - FMJL commands → FMJL document I/O: reads and writes
README.md - FMJL commands → Metadata fill: fills metadata
README.md - FMJL commands → Rule checker: checks rules
README.md - FMJL commands → Markdown view: renders view
README.md - FMJL commands → Version upgrade: upgrades format
README.md - FMJL commands → PDF importer: imports PDF
README.md - FMJL commands → Word importer: imports Word
README.md - FMJL commands → Format export: exports formats
README.md - FMJL commands → Chunk builder: builds chunks
README.md - Chunk builder → FMJL document I/O: loads rows
README.md - Changed chunks → Chunk builder: compares chunks
README.md - RAG application → FMJL document I/O: loads documents
README.md - RAG application → Chunk builder: builds chunks
README.md - RAG application → Changed chunks: finds changes
README.md - Document author → VS Code editor: edits documents
README.md - VS Code editor → Extension converter: converts forms
fmjl-vscode/src/extension.js - VS Code editor → Extension validator: validates documents
fmjl-vscode/src/extension.js - Extension validator → Extension converter: uses canonicalizer
fmjl-vscode/src/validator.js