All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.vaadin.polymer.public.bower_components.prism-element.README.md Maven / Gradle / Ivy

There is a newer version: 1.9.3.1
Show newest version
# prism-element

Syntax highlighting via [Prism](http://prismjs.com/).

Place a `` in your document, preferably as a direct child of
``. It will listen for `syntax-highlight` events on its parent element,
and annotate the code being provided via that event.

The `syntax-highlight` event's detail is expected to have a `code` property
containing the source to highlight. The event detail can optionally contain a
`lang` property, containing a string like `"html"`, `"js"`, etc.

This flow is supported by [``](https://github.com/PolymerElements/marked-element).




© 2015 - 2025 Weber Informatics LLC | Privacy Policy