Browser-based viewer for DocLang markup and archives: a reading view, formatted markup, and—when opening an archive with page images—original pages with linked selection and bounding-box overlays.
Standalone .dclg or .xml files show markup and the reading view only. .dclx archives may also include page images and assets; layout and page-alignment rules are in the DocLang specification (archive format section).
Serve this directory over HTTP so the demo can fetch example files:
python3 -m http.server 8080Open http://localhost:8080/ and click Load demo.
| Action | Description |
|---|---|
| Load demo | Fetches assets/2501.17887.dclx (requires HTTP). |
| Open file | Select a .dclx archive, or a standalone .dclg / .xml markup file. |
| Drag and drop | Drop any supported file onto the page. |
Supported types: .dclx, .dclg, .xml. The demo URL is configured in demo-data.js.
demo-data.js— demo archive URLindex.html— shell UIviewer.js— parsing, page alignment, bbox overlayviewer.css— layout and theme
