4
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
5
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
6
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
7
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
8
Code distributed by Google as part of the polymer project is also
9
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
13
<meta charset="UTF-8">
14
<title>marked-element demo</title>
16
<script src="../../webcomponentsjs/webcomponents-lite.js"></script>
18
<link rel="import" href="../../paper-styles/demo-pages.html">
19
<link rel="import" href="../marked-element.html">
21
<style is="custom-style">
34
color: var(--google-grey-700);
40
background-color: var(--google-grey-100);
45
.markdown-html.custom p {
54
<div class="vertical-section vertical-section-container centered">
55
<h1><marked-element></h1>
60
<div class="markdown-html"></div>
61
<script type="text/markdown">
68
<paper-icon-button icon="menu"></paper-icon-button>
69
<div class="title">Title</div>
70
<paper-icon-button icon="more"></paper-icon-button>
80
<h3>Text via Attribute, with custom styling</h3>
81
<marked-element markdown="***Bold and italic***">
82
<div class="markdown-html custom"></div>