Commit Graph

2 Commits

Author SHA1 Message Date
gbuomprisco
015df51cf9 Add type annotations and import missing dependencies
Added type annotations to CustomMarkdocTags to ensure type safety. Also, included missing imports for Schema and block, improving the integrity of the file.
2024-08-22 10:32:17 +02:00
Giancarlo Buomprisco
1d10dd210a Refactor to support custom Markdoc components (#52)
* Refactor to support custom Markdoc components

Introduced a new file for custom Markdoc components and updated the client to render Markdoc content using React components. Modified content renderer to handle React nodes instead of dangerously setting inner HTML.

* Add custom Markdoc tags support in Keystatic

Introduced `CustomMarkdocTags` for defining user tags. Updated `transform` to accommodate the new custom tags, enhancing tag customization in the CMS.
2024-08-22 04:34:10 +08:00