Commit History
18 days ago
-
feat(backend): import a research-article-template MDX article as an editor seed
Add scripts/import-showcase.ts (npm run import:showcase -- <content dir>): parses article.mdx and its chapters with remark-mdx, maps the template components onto the editor's nodes, converts the BibTeX bibliography to CSL-JSON, inlines the embeds (banner from the frontmatter included) and copies the images, audio and data files they use. The doc is checked against the publisher schema and the script reports what it simplified or dropped. Co-authored-by: Cursor <cursoragent@cursor.com>b9d291f