agency-kit / notion-cms

Add super powers to Notion by making it your full-fledged headless CMS.

Home Page:https://www.agencykit.so/notion-cms/guide/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support custom elements used in custom renderer functions

earlAchromatic opened this issue · comments

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.

markedjs/marked#514

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

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