agency-kit / notion-cms

Add super powers to Notion by making it your full-fledged headless CMS.
https://www.agencykit.so/notion-cms/guide/
MIT License
30 stars 2 forks source link

Support custom elements used in custom renderer functions #53

Open earlAchromatic opened 1 year ago

earlAchromatic commented 1 year ago

Currently marked which is used under the hood to parse blocks -> markdown -> html will escape anything that isn't in their list of known html tags. We need to figure out how to provide patterns to match for custom tags.

earlAchromatic commented 1 year ago

https://github.com/markedjs/marked/issues/514

might not need to do anything - just make sure to use <custom-element/> syntax (hyphenation is required).

bent10 commented 8 months ago

You might want to give the marked-directive extension a try 🚀