{"repo":"jfcere/ngx-markdown","free":true,"listed":false,"github":"https://github.com/jfcere/ngx-markdown","clone":"git clone https://github.com/jfcere/ngx-markdown.git","description":"Angular markdown component/directive/pipe/service to parse static, dynamic or remote content to HTML with syntax highlight and more...","language":"TypeScript","stars":1191,"topics":["angular","ngx","markdown","md","parser","marked","markedjs","prism","prismjs","syntax-highlighting"],"license":"MIT","category":"productivity","readme_excerpt":"ngx-markdown ngx-markdown is an Angular library that combines... - Marked to parse markdown to HTML - Prism.js for language syntax highlight - Emoji-Toolkit for emoji support - KaTeX for math expression rendering - Mermaid for diagrams and charts visualization - Clipboard.js to copy code blocks to clipboard Demo available @ https://jfcere.github.io/ngx-markdown StackBlitz available @ https://stackblitz.com/edit/ngx-markdown Table of contents - Installation - Configuration - Usage - Renderer - Syntax highlight - Demo application - AoT compilation - Road map - Contribution - Support Development Installation ngx-markdown To add ngx-markdown along with the required marked library to your package.json use the following commands. Syntax highlight :bell: Syntax highlight is optional , skip this step if you are not planning to use it To add Prism.js library to your package.json use the following command. To activate Prism.js syntax highlight you will need to include... - prism.js core library - node modules/prismjs/prism.js file - a highlight css theme - from node modules/prismjs/themes directory - desired code language syntax files - from node modules/prismjs/components directory Additional themes can be found by browsing the web such as Prism-Themes or Mokokai for example. If you are using Angular CLI you can follow the angular.json example below... Line Numbers plugin To use the line numbers plugin that shows line numbers in code blocks, in addition to Prism.js configuration files","default_branch":null,"files":null,"tree":[],"storefront":"/r/jfcere","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jfcere/ngx-markdown/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."}