Add content_type and content_raw fields to PageDetail for MDX rendering #70
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The
PageDetailRPC response does not distinguish between HTML and MDX content types. When.mdxfiles are served, the frontend has no way to know the content needs MDX rendering instead of plain HTML.Fix
content_typefield ("html" or "mdx") toPageDetailresponsecontent_rawfield with the raw MDX source for MDX files.mdxfile extension inget_pagehandlerwe focus on bootstrap now so we do this later, as it requires wasm ui