mirror of
https://github.com/longbridge/developers.git
synced 2026-09-19 03:34:09 +08:00
88fe062d22
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.
24 lines
580 B
JSON
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"
|
|
}
|
|
}
|