@cartamd/plugin-code
Version:
This plugin adds support for code blocks **syntax highlighting**. It uses the same highlighter from the core package(Shiki).
50 lines (49 loc) • 861 B
JSON
{
"name": "@cartamd/plugin-code",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/BearToCode/carta.git"
},
"exports": {
".": "./dist/index.js",
"./*.css": "./dist/*.css"
},
"scripts": {
"build": "tsc && tscp"
},
"devDependencies": {
"@shikijs/rehype": "^3.4.0",
"@types/node": "^18.16.3",
"carta-md": "workspace:*",
"typescript": "catalog:",
"typescript-cp": "^0.1.8"
},
"peerDependencies": {
"carta-md": "^4.9.0"
},
"files": [
"dist"
],
"version": "4.2.0",
"dependencies": {
"@shikijs/rehype": "^3.4.0",
"unified": "^11.0.5"
},
"keywords": [
"carta",
"markdown",
"editor",
"unified",
"remark",
"text editor",
"markdown editor",
"slash",
"syntax highlighting",
"emoji",
"katex"
]
}