Files
insertr/demo-site/insertr
Joakim e8c0de233d Fix marked.js API integration for UMD build
🐛 Issue: marked is not a function error
 Fix: Properly access marked.js v16.x UMD API

🔧 Changes:
- Correctly access window.marked object from UMD build
- Find the parse function within the marked object
- Properly configure custom renderer with .use() method
- Add comprehensive error checking and logging

💡 UMD API Structure:
- UMD exposes: window.marked (object)
- Parse function: window.marked.marked or window.marked.parse
- Configuration: window.marked.use() method

Now ready to test the two-button scenario! 🎯
2025-08-30 12:40:33 +02:00
..