Included pre-built unpacked extension folder in GitHub repo so only those interested in development need to have NodeJS installed.
This is a browser extension that converts online InterSystems IRIS DocBook documentation pages into clean, portable Markdown with an offline conversion pipeline and a safe preview, making it easy to incorporate product-specific information into modern AI assisted workflows.
By turning a live documentation page into a single Markdown artefact you can paste into ChatGPT, a custom GPT, or an agentic development tool, you can supply relevant project context. Context like APIs, configuration steps, ObjectScript examples, and system-level constraints can all help reduce hallucination and improves code generation quality.
The output is designed to be LLM friendly by flattening tabbed content, normalizing code blocks with language hints, and promoting glossary entries and headings for better retrieval. Optionally, you can strip links or tables when you need to save tokens.
When you click the extension icon on a supported DocBook page, it:
textarea).iframe).This extension is intentionally scoped to InterSystems IRIS documentation:
docs.intersystems.com./csp/docbook/DocBook.UI.Page.cls./csp/docbook/Doc.View.cls.KEY=... query parameter.If you click the icon on an unsupported page, the viewer opens with an explanatory error.
If you just want to use the extension, you can load the pre-built dist/ bundle from this repo.
You should have a folder that contains a dist/ directory.
chrome://extensions.dist/ folder from the unzipped repo.edge://extensions.dist/ folder from the unzipped repo.Open a supported IRIS DocBook page:
In the viewer you can:
Copy MarkdownDownload .mdCopy Source URLClear Session DataStrip Links (Keep Text)Remove HTML TablesThe conversion pipeline does a set of targeted normalizations aimed at DocBook pages:
alt value exists).Markdown conversion is done via Turndown with a few overrides for better fidelity.
This extension is built to be conservative:
connect-src 'none'.chrome.storage.session.
Clear Session Data.http(s) URLs on docs.intersystems.com.iframe using srcdoc.If you want to modify the extension or build dist/ yourself, you’ll need Node.js.
npm install
npm run dev
npm run build
Then load the generated dist/ folder via Load unpacked (see Quickstart).
src/background.ts - action click handler; validates URL; extracts page DOM; stores session payload; opens viewer.src/viewer.ts - reads session payload; converts to Markdown; renders output + safe preview; copy/download actions.src/convert.ts - conversion orchestrator (DOM passes + Turndown).src/domPasses.ts - targeted DOM normalization passes for InterSystems DocBook HTML.viewer.html - viewer UI (Markdown + Preview tabs).icons/ - extension icons.