Sha256: 98ef41c29927d5576cd142804d7c1438836c97f7689286f6d8f74b00499122fb
Contents?: true
Size: 805 Bytes
Versions: 6
Compression:
Stored size: 805 Bytes
Contents
marked-element ============== Element wrapper for the [marked](http://marked.org/) library. `<marked-element>` accepts Markdown source either via its `markdown` attribute: ```html <marked-element markdown="`Markdown` is _awesome_!"></marked-element> ``` Or, you can provide it via a `<script type="text/markdown">` element child: ```html <marked-element> <script type="text/markdown"> Check out my markdown! We can even embed elements without fear of the HTML parser mucking up their textual representation: <awesome-sauce> <div>Oops, I'm about to forget to close this div. </awesome-sauce> </script> </marked-element> ``` Note that the `<script type="text/markdown">` approach is _static_. Changes to the script content will _not_ update the rendered markdown!
Version data entries
6 entries across 6 versions & 2 rubygems