Smart file previews
Many file types get the same 3-mode preview (Editor / Split / Preview) as Markdown, turning raw data and config into something readable. Each is on by default and toggled under Settings → Editor.
Structured data and API docs
.json,.yaml, and.tomlrender a collapsible, type-colored data tree..xml(xsd, xsl, fxml, pom, wsdl, rss, and so on) renders a faithful DOM tree of tags, attributes, and text.- A JSON or YAML file recognized as an OpenAPI 3 / Swagger 2 spec instead
renders as browsable API docs: endpoints with colored method badges,
params, responses, and schemas. Toggle between the tree and the docs with
structured.toggleView.
Config files, decoded to plain English
- crontab (
crontab,*.cron,cron.d/*): each schedule in plain English (30 2 * * 1-5becomes “At 02:30, Monday through Friday”), the next fire times, and the@reboot/@dailymacros. Malformed lines are flagged with the field error. - fstab: each mount line decoded, the device spec (UUID / LABEL / path / CIFS / NFS), mount point, filesystem, and the options.
- systemd units (
.service/.timer/.socket/ …): each directive glossed, with a.timer’sOnCalendar=decoded to English plus its next triggers. - SSH config: a one-line connection summary per
Hostblock plus option glosses. - Dockerfile: a per-build-stage digest (base image, ports, workdir, user, entrypoint, health check).
- GitHub Actions workflows (detected by content): a plain-English digest of
the triggers (with
schedule:crons decoded) and each job’s runner and steps.
Viewers
.pdffiles open in a read-only page viewer (rasterized via PDFBox)..svgfiles stay editable XML but gain a live rendered-image preview.- Binary files open as a read-only hex dump.
Every preview can export to PDF from its right-click menu.