# Code Viewer Samples

Sample long-tail code and config files (shell, Vue, C++, TOML, Graphviz) for the in-browser Code Viewer

> Canonical page: https://test.elysiatools.com/en/samples/code-viewer-samples

- **Category:** Development

- **Keywords:** code, shell, vue, cpp, toml, graphviz, viewer

## Examples

- **Shell Script**: A Bash script with a function, local vars, and error handling
- **Vue Component (.vue)**: A Vue 3 single-file component with script setup and reactivity
- **C++ with Templates**: A C++ example using templates, the STL, and range-based loops
- **TOML Config**: A structured TOML configuration with nested tables
- **Graphviz (.gv)**: A Graphviz DOT file describing a small directed pipeline graph

## Related tools

- [Hex Editor (File Viewer)](https://test.elysiatools.com/en/tools/hex-editor): Upload any binary file and inspect it as a classic hex dump with offset, hex bytes, and ASCII columns (read-only)
- [PDF Code Snippet Viewer](https://test.elysiatools.com/en/tools/pdf-code-snippet-viewer): Render code snippets with mono font, background boxes, and clickable Git repository links
- [Game Save Viewer](https://test.elysiatools.com/en/tools/game-save-viewer): Drop any game save file — Minecraft NBT, Unreal Engine GVAS, Palworld containers, JSON/XML/INI/Lua text saves, SQLite profiles — and get the detected format, engine versions, key progress fields and a bounded structural tree.
- [Batch Image Info Viewer](https://test.elysiatools.com/en/tools/image-batch-info): View basic information for multiple images at once - dimensions, format, file size, and metadata presence
- [Batch EXIF Viewer](https://test.elysiatools.com/en/tools/image-exif-batch-view): View EXIF metadata from multiple images at once
- [3D Model Viewer & Inspector](https://test.elysiatools.com/en/tools/3d-model-viewer): Upload an STL, OBJ, GLB or glTF model: exact vertex/triangle counts, bounding-box dimensions, materials, animations and node tree, plus an interactive Three.js viewer (rotate, zoom, shaded/wireframe/normals).
- [Audio Metadata Viewer](https://test.elysiatools.com/en/tools/audio-metadata-viewer): View all metadata tags of an audio file
- [QR Code Art, Styled Module and Logo Embed Generator](https://test.elysiatools.com/en/tools/qr-code-art-styled-module-and-logo-embed-generator): Generate art QR codes with brand colors, gradients, rounded or dot modules and a centered logo, plus the ISO mask-penalty breakdown, per-module metadata export and a Reed–Solomon erasure-budget verdict.

## Related content

- [CSS Viewer Samples](https://test.elysiatools.com/en/samples/css-viewer-samples): Sample CSS stylesheets (variables, flexbox/grid, animations) for the in-browser CSS Viewer
- [Go Viewer Samples](https://test.elysiatools.com/en/samples/go-viewer-samples): Sample Go source files (structs, generics, goroutines) for the in-browser Go Viewer
- [Java Viewer Samples](https://test.elysiatools.com/en/samples/java-viewer-samples): Sample Java source files (classes, records, concurrency) for the in-browser Java Viewer
- [JavaScript Viewer Samples](https://test.elysiatools.com/en/samples/js-viewer-samples): Sample JavaScript files (module, fetch, JSX component) for the in-browser JavaScript Viewer
- [TypeScript Viewer Samples](https://test.elysiatools.com/en/samples/ts-viewer-samples): Sample TypeScript files (interfaces, generics, TSX) for the in-browser TypeScript Viewer
- [Time Zone Workflow Scheduler ICS Samples](https://test.elysiatools.com/en/samples/time-zone-workflow-scheduler-ics-samples): ICS files generated in the same structure returned by the Time Zone Workflow Scheduler, with multiple VEVENT meeting candidates exported from overlap windows
