π File Previews β
Pastefy goes beyond plain text β it automatically detects and renders rich previews for many file types.
This makes it easy to visualize your data, diagrams, and formatted content directly in the browser.
β¨ Supported Formats β
Hereβs what Pastefy can currently preview:
Format | Description |
---|---|
Markdown (.md) | Renders Markdown beautifully, with full syntax highlighting. |
Mermaid (.mermaid / .mmd) | Generates flowcharts, sequence diagrams, and graphs directly from text. |
SVG (.svg) | Displays inline SVG images with full resolution. |
CSV (.csv) | Converts CSV files into readable, scrollable tables. |
GeoJSON (.geojson) | Displays geographic data visually on an embedded map. |
Diff (.diff) | Highlights code changes with color-coded additions and deletions. |
Calendar (.ics) | Parses and previews calendar events. |
Regex (.regex) | Provides a structured view for regular expressions. |
Asciinema (.cast) | Embeds and plays terminal recordings interactively. |
π§ Example: You can see several of these in action on
π https://pastefy.app/EByZpNoS
π‘ How It Works β
Pastefy automatically detects the file type by the file extension, or
When a supported format is detected, the paste view switches to an appropriate interactive renderer, allowing you to explore or visualize your data right in the browser β no extra setup required.
βοΈ Developer Notes β
- Raw mode is still available β just click the "Raw" button on any paste.
With Pastefyβs previews, your code, diagrams, and data become instantly shareable and readable β no external tools needed.