

什么是 markschema?
mdshape is a schema-first library that turns any Markdown file into typed JSON with a single function call. Instead of writing regex, chaining remark plugins, or walking ASTs manually, you define a schema — headings, sections, fields, tables, code blocks — and mdshape parses and validates everything for you. Errors come back with line numbers, paths, and codes. 27 typed builders for tables, Mermaid diagrams, LaTeX math, images, links, and more. Full TypeScript inference from schema to json.
截图
?
还没有评论,来抢沙发吧!
X 上关于 markschema 的真实讨论
去 X 发帖



