UNPKG

@microflash/rehype-starry-night

Version:

rehype plugin to highlight codeblocks with Starry Night

55 lines 1.48 kB
{ "name": "@microflash/rehype-starry-night", "version": "8.0.1", "description": "rehype plugin to highlight codeblocks with Starry Night", "license": "MIT", "keywords": [ "unified", "rehype", "rehype-plugin", "plugin", "markdown", "syntax", "highlighting", "starry-night", "vscode-textmate" ], "repository": "https://github.com/Microflash/rehype-starry-night.git", "bugs": "https://github.com/Microflash/rehype-starry-night/issues", "homepage": "https://github.com/Microflash/rehype-starry-night#readme", "author": "Naiyer Asif (https://www.naiyerasif.com)", "type": "module", "main": "src/index.js", "exports": { ".": "./src/index.js", "./plugins": "./src/plugins.js", "./css": "./src/index.css", "./props": "./src/props.css" }, "files": [ "src/index.css", "src/props.css", "src/index.js", "src/plugins.js" ], "dependencies": { "@microflash/fenceparser": "^4.0.0", "@wooorm/starry-night": "^3.9.0", "defu": "^6.1.4", "hast-util-to-string": "^3.0.1", "hastscript": "^9.0.1", "unist-util-visit": "^5.1.0" }, "devDependencies": { "cheerio": "1.1.2", "rehype-stringify": "^10.0.1", "remark-directive": "^4.0.0", "remark-parse": "^11.0.0", "remark-rehype": "^11.1.2", "unified": "^11.0.5" }, "scripts": { "snapshot": "node --test-update-snapshots ./test/plugin.test.js", "test": "node --test ./test/*.test.js" } }