├── README.md ├── index.css └── index.html /README.md: -------------------------------------------------------------------------------- 1 | This repo is generated from __[markdown-it](https://github.com/markdown-it/markdown-it)__ by script. 2 | 3 | Please, use __[markdown-it](https://github.com/markdown-it)__ for all questions & PRs. 4 | -------------------------------------------------------------------------------- /index.css: -------------------------------------------------------------------------------- 1 | html, 2 | body, 3 | .full-height { 4 | height: 100%; 5 | } 6 | 7 | body { 8 | overflow-x: hidden; 9 | padding-bottom: 160px; 10 | background-color: #fbfbfb; 11 | } 12 | 13 | /* hack to allign emojies to line height */ 14 | .emoji { 15 | height: 1.2em; 16 | } 17 | 18 | .demo-options { 19 | margin-bottom: 30px; 20 | } 21 | 22 | .opt__strict .not-strict { 23 | opacity: 0.3; 24 | } 25 | 26 | .checkbox { 27 | margin-right: 10px; 28 | } 29 | 30 | .source { 31 | width: 100%; 32 | font-family: Menlo, Monaco, Consolas, "Courier New", monospace; 33 | font-size: 13px; 34 | padding: 2px; 35 | } 36 | 37 | .result-html { 38 | padding: 2px 10px; 39 | overflow: auto; 40 | background-color: #fff; 41 | border: 1px solid #ccc; 42 | border-radius: 4px; 43 | } 44 | .result-html img { 45 | max-width: 35%; 46 | } 47 | 48 | .result-src, 49 | .result-debug { 50 | display: none; 51 | } 52 | 53 | .result-src-content, 54 | .result-debug-content { 55 | white-space: pre; 56 | } 57 | 58 | .result-as-html .result-html { display: block; } 59 | .result-as-html .result-src, 60 | .result-as-html .result-debug { display: none; } 61 | 62 | .result-as-src .result-src { display: block; } 63 | .result-as-src .result-html, 64 | .result-as-src .result-debug { display: none; } 65 | 66 | .result-as-debug .result-debug { display: block; } 67 | .result-as-debug .result-html, 68 | .result-as-debug .result-src { display: none; } 69 | 70 | .demo-control { 71 | position: absolute; 72 | right: 15px; 73 | top: -17px; 74 | border-radius: 6px 6px 0 0; 75 | font-size: 12px; 76 | background-color: #ddd; 77 | } 78 | .demo-control a { 79 | padding: 0 20px; 80 | } 81 | .demo-control a:first-child { 82 | padding-left: 30px; 83 | } 84 | .demo-control a:last-child { 85 | padding-right: 30px; 86 | } 87 | 88 | /* twbs fix */ 89 | .hljs { 90 | padding: 9.5px; 91 | } 92 | .hljs code { 93 | white-space: pre; 94 | } 95 | 96 | 97 | .footnotes { 98 | -moz-column-count: 2; 99 | column-count: 2; 100 | } 101 | .footnotes-list { 102 | padding-left: 2em; 103 | } 104 | 105 | /* custom container */ 106 | .warning { 107 | background-color: #ff8; 108 | padding: 20px; 109 | border-radius: 6px; 110 | } 111 | 112 | .gh-ribbon { 113 | display: block; 114 | position: absolute; 115 | right: -60px; 116 | top: 44px; 117 | transform: rotate(45deg); 118 | width: 230px; 119 | z-index: 10000; 120 | white-space: nowrap; 121 | font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; 122 | background-color: #686868; 123 | box-shadow: 0 0 2px rgba(102,102,102,0.4); 124 | padding: 1px 0; 125 | } 126 | .gh-ribbon a { 127 | text-decoration: none !important; 128 | border: 1px solid #ccc; 129 | color: #fff; 130 | display: block; 131 | font-size: 13px; 132 | font-weight: 700; 133 | outline: medium none; 134 | padding: 4px 50px 2px; 135 | text-align: center; 136 | } 137 | 138 | /* Override default responsiveness */ 139 | .form-inline .radio, 140 | .form-inline .checkbox { 141 | display: inline-block; 142 | margin-bottom: 0; 143 | margin-top: 0; 144 | } 145 | .form-inline .form-group { 146 | display: inline-block; 147 | margin-bottom: 0; 148 | vertical-align: middle; 149 | } 150 | .form-inline .form-control { 151 | display: inline-block; 152 | vertical-align: middle; 153 | width: auto; 154 | } 155 | 156 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | markdown-it demo 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 |

20 | markdown-it demo

21 |
22 |
23 | 26 |
27 |
28 | 31 |
32 |
33 | 36 |
37 |
38 | 41 |
42 |
43 | 46 |
47 |
48 | 51 |
52 |
53 | 54 |
55 |
56 | 59 |
60 |
61 |
62 |
63 |
64 |
65 | 66 | 312 |
313 |
314 | 315 |
316 |
317 |
318 |
319 |
320 |
321 |
Fork me on GitHub
322 | 323 | 324 | --------------------------------------------------------------------------------