| 1 |
doctype html |
| 2 |
html |
| 3 |
head |
| 4 |
title linkify-it demo |
| 5 |
meta(charset='UTF-8') |
| 6 |
meta(http-equiv='X-UA-Compatible' content='IE=edge') |
| 7 |
meta(name='viewport' content='width=device-width, initial-scale=1') |
| 8 |
|
| 9 |
script(src='https://cdnjs.cloudflare.com/ajax/libs/es5-shim/4.0.5/es5-shim.min.js') |
| 10 |
|
| 11 |
script(src='https://cdn.jsdelivr.net/jquery/1.11.1/jquery.min.js') |
| 12 |
script(src='https://cdn.jsdelivr.net/lodash/2.4.1/lodash.js') |
| 13 |
|
| 14 |
script(src='https://cdn.jsdelivr.net/bootstrap/3.2.0/js/bootstrap.min.js') |
| 15 |
link(rel='stylesheet' href='https://cdn.jsdelivr.net/bootstrap/3.2.0/css/bootstrap.css') |
| 16 |
|
| 17 |
link(rel='stylesheet' href='index.css') |
| 18 |
script(src='index.js') |
| 19 |
|
| 20 |
// Ancient IE support - load shiv & kill broken highlighter |
| 21 |
<!--[if lt IE 9]> |
| 22 |
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> |
| 23 |
<script>window.hljs = null;</script> |
| 24 |
<![endif]--> |
| 25 |
|
| 26 |
body |
| 27 |
.container |
| 28 |
- var s = self.self.demo; |
| 29 |
h1 linkify-it |
| 30 |
| |
| 31 |
small demo |
| 32 |
|
| 33 |
p |
| 34 |
| Type text below to see linkified example. |
| 35 |
| See <a href="./doc/" target="_blank">API Docs</a> for usage details. |
| 36 |
|
| 37 |
p |
| 38 |
|
| 39 |
.container.full-height |
| 40 |
.row.full-height |
| 41 |
.col-xs-6.full-height |
| 42 |
.demo-control |
| 43 |
a.source-clear(href='#') clear |
| 44 |
a#permalink(href='./' title='Share this snippet as link'): strong permalink |
| 45 |
textarea.source.full-height= s.source |
| 46 |
section.col-xs-6.full-height |
| 47 |
.result-html.full-height |
| 48 |
|
| 49 |
.gh-ribbon |
| 50 |
a(href='https://github.com/markdown-it/linkify-it' target='_blank') Fork me on GitHub |