{"repo":"jGleitz/markdown-it-prism","free":true,"listed":false,"github":"https://github.com/jGleitz/markdown-it-prism","clone":"git clone https://github.com/jGleitz/markdown-it-prism.git","description":"Highlight code blocks in markdown-it using prism","language":"TypeScript","stars":95,"topics":["markdown","code-highlight","markdown-it","prismjs"],"license":"MIT","category":"productivity","readme_excerpt":"markdown-it-prism markdown-it plugin to highlight code blocks using Prism Usage The plugin will insert the necessary markup into all code blocks. Include one of Prism’s stylesheets in your HTML to get highlighted code. Options The options object may contain: Name Description Default --------------------------------- ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ------------- highlightInlineCode Whether to highlight inline code. false plugins Array of Prism Plugins to load. The names to use can be found here. Please note that some prism plugins (notably line-numbers) rely on the DOM being present and can thus not be used with this package (see #1). [] init A function called after setting up prism. Will receive the prism instance as only argument. Useful for plugins needing further intialisation. () = {} defaultLanguageForUnknown The language to use for code blocks that specify a language that Prism does not know. No default will be used if this option is undefined . undefined defaultLanguageForUnspecified The language to use for code block that do not specify a language. No default will be used if this option is undefined . undefined defaultLanguage Shorthand to set both d","default_branch":null,"files":null,"tree":[],"storefront":"/r/jGleitz","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jGleitz/markdown-it-prism/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}