Skip to content

2.0.0

Choose a tag to compare

@20syldev 20syldev released this 12 Oct 21:36
· 9 commits to master since this release
2.0.0
48c64d1

Major release: the viewer is rebuilt on Next.js, renamed Peek and now available in English and French.

Changes

  • The project is now called Peek and lives at peek.sylvain.sh, built as a static Next.js app that still deploys to GitHub Pages.
  • Four Markdown flavors, chosen in the document tab and remembered: GitHub, GitLab, Obsidian and CommonMark, with their own alerts, math, Mermaid diagrams and extensions.
  • GitHub links are recognized automatically (repository, folder, file, raw view or gist), and relative links and images resolve as they do in the repository.
  • A shareable link keeps the document and the flavor, and works with the browser history.
  • A side outline follows the current section and widens on its own for long headings, and every heading has an anchor.
  • A raw Markdown view shows the source in one click or with the R key, even when a document cannot be rendered.
  • The interface is available in English and French, picked from the browser language and remembered.
  • Light, dark and system themes are available from a discreet settings pill, along with a language switch.
  • Keyboard shortcuts cover the whole app (Ctrl / lists them), and the single-key ones can be turned off.
  • Rendering runs in a background worker with a time limit, and the HTML of a document is sanitized before display, so a heavy or booby-trapped file no longer freezes or harms the page.
  • The mobile layout is rebuilt for small screens, and printing produces a clean PDF.