A simple tool that lets you write content in Markdown and convert it to HTML that's ready to paste into Webflow.
Optional: preview hacky article styling overrides with the toggle button above.
Using the built-in Webflow editor for long articles can be a hassle. It's not optimized for writing extensive content, and it can slow down your workflow.
This tool allows you to:
- Write your articles in Markdown using your preferred editor and setup
- Preview how it will look with your Webflow site's CSS (specifically configured for enso.no)
- Generate clean HTML that you can copy and paste directly into Webflow
The preview in this tool uses the same CSS as enso.no, ensuring that what you see is what you'll get when you paste the HTML into your Webflow site.
- Write your content in the Markdown editor on the left
- See the live preview on the right
- When you're satisfied, copy the generated HTML from the preview (just click on it!)
- Paste it into the Webflow editor
The tool is pre-configured with the enso.no stylesheet at the time of coding, but if that becomes stale you can replace it with a fresh link using the input on top.
- Live preview with your site's actual CSS
- Simple, distraction-free interface
- Supports all standard Markdown syntax
- Customizable content class name to match your Webflow setup
- Option to use different stylesheets for different sites
You can use the hosted version of this tool at:
-
Clone this repository
git clone https://github.com/ensolabs/webflow-markdown.git cd webflow-markdown -
Install dependencies
npm install # or yarn
To run the development server with hot reloading:
npm run dev
# or
yarn dev
To build the application for production:
npm run build
# or
yarn build
This will generate the production files in the public_html directory.
To serve the production build:
npm start
# or
yarn start
The project is set up to automatically deploy to GitHub Pages when changes are pushed to the master branch. The deployment is handled by a GitHub Actions workflow.
- Elm - A delightful language for reliable web applications
- pablohirafuji/elm-markdown - Markdown parsing in Elm
This project is licensed under the MIT License - see the package.json file for details.
Christian Ekrem christian@enso.no