This is a sample implementation of a basic extension. It uses the @types/markdown-it
package from NPM which contains the documentation for markdown-it
. The code here is mostly copied from the backtick
rule implementation you can find in the original markdown-it
repository.
Plugin example for markdown-it, extension tutorial, markdown-it extension API, TypeScript, jsDoc, documentation for extensions, specification of plugin API, how to write an extension for markdown-it.