Render markdown on Happeo pages
Happeo Admin access rights
Tools
- npm
npm install npm@latest -g - node version >16
node -v
You have created a Custom app in Happeo admin and slug is copied to clipboard.
- Clone the repo
- Replace slug in index.js with the clipboard version
- Install NPM packages
npm install - Start widget. This will start the webserver and serve the index.html file from localhost:8080.
npm run start - Open Happeo
- Goto pages and edit or create page
- Add the Markdown widget
Note to start widget in development mock mode. This will start the webserver and serve the index.html file from localhost:8080. Widget-sdk services are mocked.
npm run dev
- Clone the repo
- Replace slug in index.js with the clipboard version
- Install NPM packages
npm install - Build widget
npm run build - Open Happeo admin and upload bundle to your app.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request