markdown-it-highlightjs

v4.2.0
Preset to use highlight.js with markdown-it.
markdown-it-plugin

build

esbuild src/*.ts --format=cjs --outdir=dist

lint

ts-standard src/*.ts test/*.js

prepack

npm run prepare && npm run lint && npm run type-check && npm test && npm run test-ts-import

prepare

npm run build && npm run type-declarations

test

npm run build && mocha

test-ts-import

ts-node test/types.ts

type-check

tsc -noEmit

type-declarations

tsc --project tsconfig.build.json --declaration --emitDeclarationOnly --outDir types
npm i markdown-it-highlightjs

Metadata

Downloads

Maintainers