Files
longbridge__developers/packages/api-reference/package.json
袁章洪 88fe062d22 docs(api): render :::admonitions as docs-style callout boxes
Region warnings, tips, etc. were rendering as plain blockquotes in the
reference. Convert them back to ::: container syntax in the descriptions and
add a markdown-it-container plugin that emits the same DOM as the docs
remark-callout (.callout.callout-<type> + .callout-title), with the docs
callout.css copied into the package. Now :::warning/:::tip render as the same
colored boxes as docs; the .md keeps readable ::: blocks for AI consumers.
2026-09-14 11:44:08 +08:00

24 lines
580 B
JSON

{
"name": "@longbridge/openapi-api-reference",
"version": "0.0.0",
"private": true,
"type": "module",
"main": "./src/index.ts",
"types": "./src/index.ts",
"exports": {
".": "./src/index.ts",
"./markdown": "./src/openapi-markdown.ts",
"./src/api-reference.css": "./src/api-reference.css"
},
"dependencies": {
"@longbridge/openapi-ui": "workspace:*",
"js-yaml": "^4",
"markdown-it": "^14",
"markdown-it-container": "^4.0.0"
},
"devDependencies": {
"@types/markdown-it": "^14",
"@types/markdown-it-container": "^4.0.1"
}
}