Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(75)

Side by Side Diff: polymer_1.0.4/bower_components/marked-element/demo/index.html

Issue 1205703007: Add polymer 1.0 to npm_modules (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: Renamed folder to 1.0.4 Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!doctype html>
2 <!--
3 @license
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.g ithub.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/CONTRI BUTORS.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/PATEN TS.txt
10 -->
11 <html>
12 <head>
13 <meta charset="UTF-8">
14 <title>marked-element demo</title>
15
16 <script src="../../webcomponentsjs/webcomponents-lite.js"></script>
17
18 <link rel="import" href="../../paper-styles/demo-pages.html">
19 <link rel="import" href="../marked-element.html">
20
21 <style is="custom-style">
22
23 .centered {
24 max-width: 550px;
25 padding: 0;
26 overflow: auto;
27 }
28
29 h1 {
30 margin-left: 30px;
31 }
32
33 h3 {
34 color: var(--google-grey-700);
35 margin-left: 30px;
36 }
37
38 marked-element {
39 display: block;
40 background-color: var(--google-grey-100);
41 padding: 10px 30px;
42 margin-bottom: 10px;
43 }
44
45 </style>
46 </head>
47
48 <body unresolved>
49
50 <div class="vertical-section vertical-section-container centered">
51 <h1>&lt;marked-element&gt;</h1>
52
53 <section>
54 <h3>Inline Text</h3>
55 <marked-element>
56 <script type="text/markdown">
57 ## Markdown Renderer
58
59 Example:
60
61 ```html
62 <paper-toolbar>
63 <paper-icon-button icon="menu"></paper-icon-button>
64 <div class="title">Title</div>
65 <paper-icon-button icon="more"></paper-icon-button>
66 </paper-toolbar>
67 ```
68
69 _Nifty_ features.
70 </script>
71 </marked-element>
72 </section>
73
74 <section>
75 <h3>Text via Attribute</h3>
76 <marked-element markdown="***Bold and italic***"></marked-element>
77 </section>
78
79 </div>
80
81 </body>
82 </html>
OLDNEW
« no previous file with comments | « polymer_1.0.4/bower_components/marked-element/bower.json ('k') | polymer_1.0.4/bower_components/marked-element/hero.svg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698