File: index.jade

package info (click to toggle)
node-markdown-it 22.2.3%2Bdfsg%2B~12.2.3-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,816 kB
  • sloc: javascript: 6,872; makefile: 226
file content (50 lines) | stat: -rw-r--r-- 1,633 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
doctype html
html
  head
    title linkify-it demo
    meta(charset='UTF-8')
    meta(http-equiv='X-UA-Compatible' content='IE=edge')
    meta(name='viewport' content='width=device-width, initial-scale=1')

    script(src='https://cdnjs.cloudflare.com/ajax/libs/es5-shim/4.0.5/es5-shim.min.js')

    script(src='https://cdn.jsdelivr.net/jquery/1.11.1/jquery.min.js')
    script(src='https://cdn.jsdelivr.net/lodash/2.4.1/lodash.js')

    script(src='https://cdn.jsdelivr.net/bootstrap/3.2.0/js/bootstrap.min.js')
    link(rel='stylesheet' href='https://cdn.jsdelivr.net/bootstrap/3.2.0/css/bootstrap.css')

    link(rel='stylesheet' href='index.css')
    script(src='index.js')

    // Ancient IE support - load shiv & kill broken highlighter
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
    <script>window.hljs = null;</script>
    <![endif]-->

  body
    .container
      - var s = self.self.demo;
      h1 linkify-it
        |  
        small demo

      p
        | Type text below to see linkified example.
        | See <a href="./doc/" target="_blank">API Docs</a> for usage details.

      p &nbsp;

    .container.full-height
      .row.full-height
        .col-xs-6.full-height
          .demo-control
            a.source-clear(href='#') clear
            a#permalink(href='./' title='Share this snippet as link'): strong permalink
          textarea.source.full-height= s.source
        section.col-xs-6.full-height
          .result-html.full-height

    .gh-ribbon
      a(href='https://github.com/markdown-it/linkify-it' target='_blank') Fork me on GitHub