Directory

s-markdown - Vaadin Add-on Directory

Fast modular regex-based Markdown parser. s-markdown - Vaadin Add-on Directory
**[ This description is mirrored from README.md at [github.com/StartPolymer/s-markdown](https://github.com//StartPolymer/s-markdown/blob/v0.1.5/README.md) on 2019-05-22 ]** ## <s-markdown> Fast modular regex-based Markdown parser. Inspired by [<marked-element>](https://github.com/PolymerElements/marked-element) and [Slimdown](https://gist.github.com/jbroadway/2836900). `` accepts Markdown source, and renders it to a child element with the class `markdown-html`. This child element can be styled as you would a normal DOM element. If you do not provide a child element with the `markdown-html` class, the Markdown source will still be rendered, but to a shadow DOM child that cannot be styled. The Markdown source can be specified either via the `markdown` attribute: ```html
``` Or, you can provide it via a `
``` Note that the `