untitled-914
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.
index.ts
https://dwsmarketing--2b0c6caa5a1a11f095caf69ea79377d9.web.val.run
A simple web application for viewing and editing Mermaid diagrams in real-time.
- 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
- Enter your Mermaid code in the left panel
- The diagram will render automatically in the right panel
- Use the example buttons to load common diagram types
├── 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
- Backend: Hono (TypeScript)
- Frontend: React 18.2.0 with TypeScript
- Styling: TailwindCSS
- Diagram Rendering: Mermaid.js
- Code Editor: Monaco Editor