granite-prism-marked-element:
[ 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 webcomponents.org - Discuss & share web components 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