| OLD | NEW |
| (Empty) |
| 1 <!doctype html> | |
| 2 <!-- | |
| 3 Copyright (c) 2014 The Polymer Project Authors. All rights reserved. | |
| 4 This code may only be used under the BSD style license found at http://polymer.g
ithub.io/LICENSE.txt | |
| 5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt | |
| 6 The complete set of contributors may be found at http://polymer.github.io/CONTRI
BUTORS.txt | |
| 7 Code distributed by Google as part of the polymer project is also | |
| 8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN
TS.txt | |
| 9 --> | |
| 10 <html> | |
| 11 <head> | |
| 12 | |
| 13 <title></title> | |
| 14 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
| 15 <script src="../platform/platform.js"></script> | |
| 16 <link rel="import" href="marked-element.html"> | |
| 17 </head> | |
| 18 | |
| 19 <body unresolved> | |
| 20 | |
| 21 <h3>Inline Text</h3> | |
| 22 <hr> | |
| 23 | |
| 24 <marked-element> | |
| 25 ## Markdown Renderer | |
| 26 | |
| 27 * implemented in `JavaScript` | |
| 28 * realtime formatting | |
| 29 | |
| 30 Example: | |
| 31 | |
| 32 <div> | |
| 33 <polymer-overlay></polymer-overlay> | |
| 34 <h2>Dialog</h2> | |
| 35 <input placeholder="say something..." autofocus> | |
| 36 <div>I agree with this wholeheartedly.</div> | |
| 37 <button overlay-toggle>OK</button> | |
| 38 </div> | |
| 39 | |
| 40 _Nifty_ features. | |
| 41 </marked-element> | |
| 42 | |
| 43 <br> | |
| 44 | |
| 45 <h3>Text via Attribute</h3> | |
| 46 <hr> | |
| 47 | |
| 48 <marked-element text=" <div>div</div>"></marked-js> | |
| 49 | |
| 50 </body> | |
| 51 </html> | |
| OLD | NEW |