UNPKG

five-bells-visualization

Version:
53 lines (40 loc) 1.41 kB
<!doctype html> <!-- Copyright (c) 2014 The Polymer Project Authors. All rights reserved. This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as part of the polymer project is also subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt --> <html> <head> <title>marked-element demo</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <script src="../webcomponentsjs/webcomponents.js"></script> <link rel="import" href="marked-element.html"> </head> <body unresolved> <h3>Inline Text</h3> <hr> <marked-element> ## Markdown Renderer * implemented in `JavaScript` * realtime formatting Example: <div> <core-overlay> <h2>Dialog</h2> <input placeholder="say something..." autofocus> <div>I agree with this wholeheartedly.</div> <button core-overlay-toggle>OK</button> </core-overlay> </div> _Nifty_ features. </marked-element> <br> <h3>Text via Attribute</h3> <hr> <marked-element text=" <div>div</div>"></marked-element> </body> </html>