FeaturesTemplatesShowcaseTownie
AI
BlogDocsPricing
Log inSign up
dwsmarketing
dwsmarketinguntitled-914
Public
Like
untitled-914
Home
Code
3
backend
1
frontend
3
README.md
Branches
1
Pull requests
Remixes
History
Environment variables
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
Code
/
Search
index.ts
https://dwsmarketing--2b0c6caa5a1a11f095caf69ea79377d9.web.val.run
README.md

Mermaid Diagram Viewer

A simple web application for viewing and editing Mermaid diagrams in real-time.

Features

  • Live preview of Mermaid diagrams
  • Syntax highlighting for Mermaid code
  • Responsive design with split-pane layout
  • Example diagrams to get started
  • Error handling for invalid syntax

Usage

  1. Enter your Mermaid code in the left panel
  2. The diagram will render automatically in the right panel
  3. Use the example buttons to load common diagram types

Project Structure

├── backend/
│   └── index.ts          # Hono server for serving static files
├── frontend/
│   ├── index.html        # Main HTML template
│   ├── index.tsx         # React application
│   └── style.css         # Custom styles
└── README.md

Tech Stack

  • Backend: Hono (TypeScript)
  • Frontend: React 18.2.0 with TypeScript
  • Styling: TailwindCSS
  • Diagram Rendering: Mermaid.js
  • Code Editor: Monaco Editor
HTTP
  • index.ts
    dwsmarketing--2b…d9.web.val.run
Code
backendfrontendREADME.md
Go to top
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Product
FeaturesVersion controlCLIAI agentsCode intelligenceSlack integrationsGTMPricing
Developers
DocsStatusAPI ExamplesNPM Package Examples
Explore
ShowcaseTemplatesNewest ValsTrending ValsNewsletter
Company
AboutBlogCareersBrandhi@val.town
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.