granite-prism-marked-element
An element extending marked-element with encapsulated prism-element and prism-theme-default to be more easily used in non-polymer apps
[ This description is mirrored from README.md at github.com/LostInBrittany/granite-prism-marked-element on 2019-05-22 ]
granite-prism-marked-element
Based on Polymer 2.x
An element extending marked-element with encapsulated prism-element and prism-theme-default to be more easily used in non-polymer apps
See https://www.webcomponents.org/element/PolymerElements/marked-element for more info
Usage example
<granite-prism-marked-element >
<script type="text/markdown">
# Does it works?
I am not sure!
Let's test
```html
<div>There is no div here</div>
<i>
console.log('And no log');
</i>
```
**Yes it works!**
</script>
</granite-prism-marked-element>
Install the Polymer-CLI
First, make sure you have the Polymer CLI installed. Then run polymer serve
to serve your element locally.
Viewing Your Element
$ polymer serve
Running Tests
$ polymer test
Your application is already set up to be tested via web-component-tester. Run polymer test
to run your application's test suite locally.
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -m 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
License
Links
Compatibility
Was this helpful? Need more help?
Leave a comment or a question below. You can also join
the chat on Discord or
ask questions on StackOverflow.
Version
Dependencies
Polymer/polymer#^2.0.0
- PolymerElements/prism-element#^2.0.1
- PolymerElements/marked-element#^2.4.0
- Released
- 2018-03-01
- Maturity
- IMPORTED
- License
- Other
Compatibility
- Framework
- Polymer 2.0+
- Browser
- Browser Independent
granite-prism-marked-element - Vaadin Add-on Directory
An element extending marked-element with encapsulated prism-element and prism-theme-default to be more easily used in non-polymer appsLicense
Issue tracker
GitHub Homepage
granite-prism-marked-element version 1.0.0
### Dependencies
Polymer/polymer#^2.0.0
* PolymerElements/prism-element#^2.0.1
* PolymerElements/marked-element#^2.4.0
granite-prism-marked-element version 1.0.1
### Dependencies
Polymer/polymer#^2.0.0
* PolymerElements/prism-element#^2.0.1
* PolymerElements/marked-element#^2.4.0
granite-prism-marked-element version 1.1.0
### Dependencies
Polymer/polymer#^2.0.0
* PolymerElements/prism-element#^2.0.1
* PolymerElements/marked-element#^2.4.0