{"repo":"vanillawc/wc-markdown","free":true,"listed":false,"github":"https://github.com/vanillawc/wc-markdown","clone":"git clone https://github.com/vanillawc/wc-markdown.git","description":"A vanilla Markdown Web Component with optional syntax highlighting support","language":"JavaScript","stars":67,"topics":["web-components","vanilla","markdown","syntax-highlighting"],"license":"MIT","category":"ui-components","readme_excerpt":"&lt;wc-markdown&gt; Markdown with Syntax Highlighing Setup Install and import from NPM Import from SkyPack CDN Demo Try it on WebComponents.dev Usage Attributes - src - load an external source file - highlight - when present, syntax highlighting is applied to code Properties - value - get/set the source code External Source Inline Source Note: The word cannot be used inside here, you'll have to use the escaped &lt;/script&gt; version instead, you may also use &lt;script&gt; for the opening tag if you wish to Syntax Highlighting To apply syntax highlighting, add the highlight attribute. Syntax Highlighting - Theming Highlighting requires the import of a CSS theme. Themes can be found under themes/ . Syntax Highlighting - Languages The PrismJS core includes the following languages [html, xml, svg, mathml, css, javascript] . Additional language modules can be imported from components/ . Some languages extend others. Ex, C++ extends C so both need to be imported in the correct order. Contributing See CONTRIBUTING.md Similar Projects - - Ridiculously simple zero-config markdown displayer","default_branch":null,"files":null,"tree":[],"storefront":"/r/vanillawc","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/vanillawc/wc-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."}