{"repo":"denoland/deno-gfm","free":true,"listed":false,"github":"https://github.com/denoland/deno-gfm","clone":"git clone https://github.com/denoland/deno-gfm.git","description":"Server-side GitHub Flavored Markdown rendering for Deno","language":"TypeScript","stars":242,"topics":["deno","markdown","gfm"],"license":"MIT","category":"productivity","readme_excerpt":"deno-gfm Server-side GitHub Flavored Markdown rendering for Deno, including GitHub style CSS, syntax highlighting, and HTML sanitization. Usage First install the package with the command: Styling The GitHub CSS styles (https://primer.style) are used. There are two themes available: light and dark. There are three data attributes that can be used to control the theme: - data-color-mode : light or dark or auto . - data-light-theme : the name of the light theme ( light or dark ). - data-dark-theme : the name of the dark theme ( light or dark ). For example, if you want to use the dark theme only, set the following: If you want to use the light or dark theme depending on the user's browser preference, set the following: Also see the example application in the example/ directory. Extensibility By default syntax highlighting for JavaScript, Markdown, and HTML is included. You can include more languages importing them: A full list of supported languages is available here: https://unpkg.com/browse/prismjs@1.29.0/components/ Inline rendering By default, all rendering is in blocks. There are cases where one would like to render some inline markdown, and this is achievable using the inline setting: Math rendering By default math rendering is disabled. To enable it, you must include the additional CSS and enable the allowMath setting:","default_branch":null,"files":null,"tree":[],"storefront":"/r/denoland","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/denoland/deno-gfm/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."}