Skip to main content

KingViewer — Document Viewer

KingViewer renders your files beautifully — no external app needed. Click a file in KingFolder and it opens as a clean, readable document right inside KingDesk.

Supported formats

FormatExtensionWhere it opens
Markdown.mdInline viewer
Plain text.txtInline viewer
HTML.html, .htmInline viewer (sandboxed)
PDF.pdfInline viewer
Word.docx, .docInline viewer
Excel.xlsx, .xlsInline viewer
PowerPoint.pptx, .pptPopup window
Hangul.hwp, .hwpxInline viewer
Images.png, .jpg, .gif, .webp, .svgInline viewer
Drawing.kdraw, .excalidrawPopup window

How files open

KingViewer has four entry points depending on where you are:

Entry pointHow to openWhere it appears
KingFolder clickClick any file in the folder panelOpens as an editor tab (inline)
Eye icon popupClick the 👁 icon next to a fileOpens in a separate popup window
KingShare linkOpen a shared project linkOpens in the right panel of KingShare
Web project previewVisit a docuking.ai project pageOpens in your browser

The header bar

Every viewer has a consistent header showing the file name, format badge, and action buttons. Common actions:

  • Edit — jump to the raw editor
  • Refresh — reload the rendered view
  • Print / Export PDF — available for Markdown and HTML files

Sharing a viewed document

From any viewer, you can generate a KingShare link and send it to anyone — they'll see the same rendered view in their browser, no KingDesk required.

tip

You can preview a running localhost web app inside KingDesk without building. Open the built-in browser panel, navigate to localhost:3000 (or any port), and your app renders live alongside your code.