This Markdown file is designed to exercise the lightweight document renderer with common content used in product documentation.
| Area | Expected behavior | Renderer |
|---|---|---|
| Documentation | Prose, links, tables, quotes | Markdown |
| Source snippets | Fenced code blocks | highlight.js on demand |
| Operations | Search, zoom, print, export | Core APIs |
The demo uses local files only, so it is suitable for intranet and offline deployment checks.
import { mountViewer } from '@file-viewer/web'
mountViewer('#viewer', {
src: '/files/contract.pdf',
locale: 'en-US',
theme: 'light'
})
@file-viewer/vite-plugin discover the installed preset and copy assets.