A WebAssembly-based Markdown editor built with Rust, Shoelace styles and no other dependencies. Trunk is used for the build system
- Live Markdown preview
- Pure Javascript for front end and WebAssembly implementation for rendering Markdown
- Minimal external dependencies
- Modern web components UI
- Install Rust:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh- Add the WebAssembly target:
rustup target add wasm32-unknown-unknown- Install Trunk:
cargo install trunkRun the development server:
trunk serveVisit http://127.0.0.1:8080 in your browser.
Run the Rust unit tests:
cargo testRun the frontend tests:
wasm-pack test --chromeCreate a production build:
trunk build --releaseThe output will be in the dist directory.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.