Rapid prototyping with MDX
See it running at https://rapid.jsx.nz/
You must have Node.js and npm (installed with Node.js) and optionally yarn installed on your machine.
Install dependencies:
npm install
or yarn install
Run the development server:
npm run dev
or yarn dev
Point your web browser to http://localhost:3000
Add your markdown text and code in pages/scratch.md
The output rebuilds and refreshes the browser automatically as you make changes.
Run npm run build
or yarn build
to generate static output in the out
directory. You can upload this directory to your host.
I use Now. Other options include Netlify, GitHub Pages and Surge.
Next.js is static and server-side application framework for React.