polymer-core-rails 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (856) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/components/context-free-parser/README.md +4 -0
  3. data/app/assets/components/context-free-parser/bower.json +5 -0
  4. data/app/assets/components/context-free-parser/context-free-parser.html +49 -0
  5. data/app/assets/components/context-free-parser/context-free-parser.js +130 -0
  6. data/app/assets/components/context-free-parser/demo.html +34 -0
  7. data/app/assets/components/context-free-parser/index.html +22 -0
  8. data/app/assets/components/core-ajax/README.md +4 -0
  9. data/app/assets/components/core-ajax/bower.json +7 -0
  10. data/app/assets/components/core-ajax/{core-ajax.html.erb → core-ajax.html} +29 -23
  11. data/app/assets/components/core-ajax/{core-xhr.html.erb → core-xhr.html} +6 -3
  12. data/app/assets/components/core-ajax/demo.html +43 -0
  13. data/app/assets/components/core-ajax/index.html +22 -0
  14. data/app/assets/components/core-ajax/metadata.html +23 -0
  15. data/app/assets/components/core-animated-pages/README.md +4 -0
  16. data/app/assets/components/core-animated-pages/bower.json +10 -0
  17. data/app/assets/components/core-animated-pages/core-animated-pages.css +10 -0
  18. data/app/assets/components/core-animated-pages/{core-animated-pages.html.erb → core-animated-pages.html} +32 -9
  19. data/app/assets/components/core-animated-pages/demo.html +23 -0
  20. data/app/assets/components/core-animated-pages/demos/grid.html +113 -0
  21. data/app/assets/components/core-animated-pages/demos/list.html +126 -0
  22. data/app/assets/components/core-animated-pages/demos/music.html +182 -0
  23. data/app/assets/components/core-animated-pages/demos/nested-animated-pages.html +113 -0
  24. data/app/assets/components/core-animated-pages/demos/nested.html +112 -0
  25. data/app/assets/components/core-animated-pages/demos/news.html +255 -0
  26. data/app/assets/components/core-animated-pages/demos/quiz1-intro.png +0 -0
  27. data/app/assets/components/core-animated-pages/demos/quiz1.html +263 -0
  28. data/app/assets/components/core-animated-pages/demos/shadow.html +142 -0
  29. data/app/assets/components/core-animated-pages/demos/simple.html +98 -0
  30. data/app/assets/components/core-animated-pages/index.html +22 -0
  31. data/app/assets/components/core-animated-pages/metadata.html +38 -0
  32. data/app/assets/components/core-animated-pages/transitions/{core-transition-pages.html.erb → core-transition-pages.html} +5 -3
  33. data/app/assets/components/core-animated-pages/transitions/{cross-fade.html.erb → cross-fade.html} +1 -1
  34. data/app/assets/components/core-animated-pages/transitions/hero-transition.css +10 -0
  35. data/app/assets/components/core-animated-pages/transitions/{hero-transition.html.erb → hero-transition.html} +7 -7
  36. data/app/assets/components/core-animated-pages/transitions/slide-from-bottom.html +8 -1
  37. data/app/assets/components/core-animated-pages/transitions/slide-from-right.html +8 -0
  38. data/app/assets/components/core-animation/README.md +4 -0
  39. data/app/assets/components/core-animation/bower.json +8 -0
  40. data/app/assets/components/core-animation/{core-animation-group.html.erb → core-animation-group.html} +2 -1
  41. data/app/assets/components/core-animation/{core-animation.html.erb → core-animation.html} +4 -3
  42. data/app/assets/components/core-animation/demo.html +149 -0
  43. data/app/assets/components/core-animation/index.html +22 -0
  44. data/app/assets/components/core-animation/web-animations.html +10 -0
  45. data/app/assets/components/core-collapse/README.md +4 -0
  46. data/app/assets/components/core-collapse/bower.json +7 -0
  47. data/app/assets/components/core-collapse/{core-collapse.html.erb → core-collapse.html} +24 -9
  48. data/app/assets/components/core-collapse/demo.html +93 -0
  49. data/app/assets/components/core-collapse/index.html +22 -0
  50. data/app/assets/components/core-component-page/README.md +6 -0
  51. data/app/assets/components/core-component-page/bowager-logo.png +0 -0
  52. data/app/assets/components/core-component-page/bower.json +8 -0
  53. data/app/assets/components/core-component-page/core-component-page.html +37 -0
  54. data/app/assets/components/core-component-page/demo.html +23 -0
  55. data/app/assets/components/core-component-page/index.html +22 -0
  56. data/app/assets/components/core-doc-viewer/README.md +4 -0
  57. data/app/assets/components/core-doc-viewer/bower.json +16 -0
  58. data/app/assets/components/core-doc-viewer/core-doc-viewer.html +186 -0
  59. data/app/assets/components/core-doc-viewer/demo.html +46 -0
  60. data/app/assets/components/core-doc-viewer/elements/core-doc-page.css +139 -0
  61. data/app/assets/components/core-doc-viewer/elements/core-doc-page.html +175 -0
  62. data/app/assets/components/core-doc-viewer/elements/core-doc-toc.css +27 -0
  63. data/app/assets/components/core-doc-viewer/elements/core-doc-toc.html +67 -0
  64. data/app/assets/components/core-doc-viewer/index.html +22 -0
  65. data/app/assets/components/core-docs/README.md +4 -0
  66. data/app/assets/components/core-docs/bower.json +7 -0
  67. data/app/assets/components/core-docs/index.html +71 -0
  68. data/app/assets/components/core-drag-drop/core-drag-drop.html +12 -7
  69. data/app/assets/components/core-drag-drop/demo.html +102 -0
  70. data/app/assets/components/core-drag-drop/index.html +22 -0
  71. data/app/assets/components/core-drawer-panel/README.md +4 -0
  72. data/app/assets/components/core-drawer-panel/bower.json +8 -0
  73. data/app/assets/components/core-drawer-panel/core-drawer-panel.css +18 -33
  74. data/app/assets/components/core-drawer-panel/core-drawer-panel.html +339 -0
  75. data/app/assets/components/core-drawer-panel/demo.html +73 -0
  76. data/app/assets/components/core-drawer-panel/index.html +22 -0
  77. data/app/assets/components/core-drawer-panel/metadata.html +37 -0
  78. data/app/assets/components/core-dropdown/README.md +6 -0
  79. data/app/assets/components/core-dropdown/bower.json +11 -0
  80. data/app/assets/components/core-dropdown/core-dropdown.css +35 -0
  81. data/app/assets/components/core-dropdown/core-dropdown.html +182 -0
  82. data/app/assets/components/core-dropdown/demo.html +349 -0
  83. data/app/assets/components/core-dropdown/index.html +22 -0
  84. data/app/assets/components/core-elements/README.md +4 -0
  85. data/app/assets/components/core-elements/bower.json +47 -0
  86. data/app/assets/components/core-elements/core-elements.html +56 -0
  87. data/app/assets/components/core-elements/demo.html +107 -0
  88. data/app/assets/components/core-elements/index.html +22 -0
  89. data/app/assets/components/core-elements/metadata.html +30 -0
  90. data/app/assets/components/core-field/README.md +4 -0
  91. data/app/assets/components/core-field/bower.json +7 -0
  92. data/app/assets/components/core-field/{core-field.html.erb → core-field.html} +5 -2
  93. data/app/assets/components/core-field/demo.html +67 -0
  94. data/app/assets/components/core-field/index.html +22 -0
  95. data/app/assets/components/core-field/metadata.html +26 -0
  96. data/app/assets/components/core-header-panel/README.md +4 -0
  97. data/app/assets/components/core-header-panel/bower.json +7 -0
  98. data/app/assets/components/core-header-panel/{core-header-panel.html.erb → core-header-panel.html} +54 -25
  99. data/app/assets/components/core-header-panel/demo.html +100 -0
  100. data/app/assets/components/core-header-panel/index.html +23 -0
  101. data/app/assets/components/core-header-panel/metadata.html +37 -0
  102. data/app/assets/components/core-icon/README.md +4 -0
  103. data/app/assets/components/core-icon/bower.json +8 -0
  104. data/app/assets/components/core-icon/core-icon.css +3 -12
  105. data/app/assets/components/core-icon/core-icon.html +189 -0
  106. data/app/assets/components/core-icon/demo.html +44 -0
  107. data/app/assets/components/core-icon/index.html +22 -0
  108. data/app/assets/components/core-icon/metadata.html +21 -0
  109. data/app/assets/components/core-icon-button/README.md +4 -0
  110. data/app/assets/components/core-icon-button/bower.json +7 -0
  111. data/app/assets/components/core-icon-button/core-icon-button.css +8 -3
  112. data/app/assets/components/core-icon-button/{core-icon-button.html.erb → core-icon-button.html} +6 -8
  113. data/app/assets/components/core-icon-button/demo.html +35 -0
  114. data/app/assets/components/core-icon-button/index.html +22 -0
  115. data/app/assets/components/core-icon-button/metadata.html +20 -0
  116. data/app/assets/components/core-icons/README.md +4 -0
  117. data/app/assets/components/core-icons/av-icons.html +46 -0
  118. data/app/assets/components/core-icons/bower.json +9 -0
  119. data/app/assets/components/core-icons/communication-icons.html +59 -0
  120. data/app/assets/components/core-icons/core-icons.html +270 -6
  121. data/app/assets/components/core-icons/demo.html +96 -0
  122. data/app/assets/components/core-icons/device-icons.html +59 -0
  123. data/app/assets/components/core-icons/editor-icons.html +67 -0
  124. data/app/assets/components/core-icons/hardware-icons.html +58 -0
  125. data/app/assets/components/core-icons/iconsets/av-icons.html +45 -0
  126. data/app/assets/components/core-icons/iconsets/communication-icons.html +38 -0
  127. data/app/assets/components/core-icons/iconsets/device-icons.html +54 -0
  128. data/app/assets/components/core-icons/iconsets/hardware-icons.html +45 -0
  129. data/app/assets/components/core-icons/iconsets/icons.html +192 -0
  130. data/app/assets/components/core-icons/iconsets/image-icons.html +51 -0
  131. data/app/assets/components/core-icons/iconsets/maps-icons.html +33 -0
  132. data/app/assets/components/core-icons/iconsets/notification-icons.html +53 -0
  133. data/app/assets/components/core-icons/iconsets/png-icons.html +18 -0
  134. data/app/assets/components/core-icons/iconsets/social-icons.html +50 -0
  135. data/app/assets/components/core-icons/image-icons.html +146 -0
  136. data/app/assets/components/core-icons/index.html +22 -0
  137. data/app/assets/components/core-icons/maps-icons.html +69 -0
  138. data/app/assets/components/core-icons/notification-icons.html +50 -0
  139. data/app/assets/components/core-icons/png-icons.html +19 -0
  140. data/app/assets/components/core-icons/social-icons.html +52 -0
  141. data/app/assets/components/core-iconset/README.md +4 -0
  142. data/app/assets/components/core-iconset/bower.json +9 -0
  143. data/app/assets/components/core-iconset/{core-iconset.html.erb → core-iconset.html} +29 -24
  144. data/app/assets/components/core-iconset/demo.html +62 -0
  145. data/app/assets/components/core-iconset/index.html +22 -0
  146. data/app/assets/components/core-iconset/my-icons-big.png +0 -0
  147. data/app/assets/components/core-iconset/my-icons.png +0 -0
  148. data/app/assets/components/core-iconset-svg/README.md +4 -0
  149. data/app/assets/components/core-iconset-svg/bower.json +8 -0
  150. data/app/assets/components/core-iconset-svg/core-iconset-svg.html +14 -16
  151. data/app/assets/components/core-iconset-svg/demo.html +66 -0
  152. data/app/assets/components/core-iconset-svg/index.html +22 -0
  153. data/app/assets/components/core-iconset-svg/svg-sample-icons.html +68 -0
  154. data/app/assets/components/core-input/README.md +2 -0
  155. data/app/assets/components/core-input/bower.json +6 -0
  156. data/app/assets/components/core-input/core-input.css +10 -0
  157. data/app/assets/components/core-input/core-input.html +454 -0
  158. data/app/assets/components/core-input/demo.html +142 -0
  159. data/app/assets/components/core-input/index.html +22 -0
  160. data/app/assets/components/core-input/metadata.html +20 -0
  161. data/app/assets/components/core-item/README.md +4 -0
  162. data/app/assets/components/core-item/bower.json +8 -0
  163. data/app/assets/components/core-item/core-item.css +13 -0
  164. data/app/assets/components/core-item/{core-item.html.erb → core-item.html} +10 -16
  165. data/app/assets/components/core-item/demo.html +92 -0
  166. data/app/assets/components/core-item/index.html +22 -0
  167. data/app/assets/components/core-item/metadata.html +24 -0
  168. data/app/assets/components/core-layout-grid/README.md +4 -0
  169. data/app/assets/components/core-layout-grid/bower.json +7 -0
  170. data/app/assets/components/core-layout-grid/core-layout-grid.html +350 -0
  171. data/app/assets/components/core-layout-grid/demo.html +116 -0
  172. data/app/assets/components/core-layout-grid/index.html +22 -0
  173. data/app/assets/components/core-layout-grid/metadata.html +22 -0
  174. data/app/assets/components/core-layout-trbl/README.md +4 -0
  175. data/app/assets/components/core-layout-trbl/bower.json +7 -0
  176. data/app/assets/components/core-layout-trbl/core-layout-trbl.html +269 -0
  177. data/app/assets/components/core-layout-trbl/core-slide.html +181 -0
  178. data/app/assets/components/core-layout-trbl/demo.html +58 -0
  179. data/app/assets/components/core-layout-trbl/index.html +22 -0
  180. data/app/assets/components/core-list/README.md +4 -0
  181. data/app/assets/components/core-list/bower.json +8 -0
  182. data/app/assets/components/core-list/core-list.css +18 -4
  183. data/app/assets/components/core-list/{core-list.html.erb → core-list.html} +27 -27
  184. data/app/assets/components/core-list/demo-divider.html +178 -0
  185. data/app/assets/components/core-list/demo.html +154 -0
  186. data/app/assets/components/core-list/images/0.png +0 -0
  187. data/app/assets/components/core-list/images/1.png +0 -0
  188. data/app/assets/components/core-list/images/2.png +0 -0
  189. data/app/assets/components/core-list/images/3.png +0 -0
  190. data/app/assets/components/core-list/index.html +22 -0
  191. data/app/assets/components/core-localstorage/README.md +4 -0
  192. data/app/assets/components/core-localstorage/bower.json +7 -0
  193. data/app/assets/components/core-localstorage/core-localstorage.html +13 -11
  194. data/app/assets/components/core-localstorage/demo.html +50 -0
  195. data/app/assets/components/core-localstorage/index.html +22 -0
  196. data/app/assets/components/core-media-query/README.md +4 -0
  197. data/app/assets/components/core-media-query/bower.json +7 -0
  198. data/app/assets/components/core-media-query/core-media-query.html +1 -0
  199. data/app/assets/components/core-media-query/demo.html +44 -0
  200. data/app/assets/components/core-media-query/index.html +22 -0
  201. data/app/assets/components/core-menu/README.md +4 -0
  202. data/app/assets/components/core-menu/bower.json +9 -0
  203. data/app/assets/components/core-menu/{core-menu.html.erb → core-menu.html} +3 -3
  204. data/app/assets/components/core-menu/{core-submenu.html.erb → core-submenu.html} +10 -10
  205. data/app/assets/components/core-menu/demo.html +101 -0
  206. data/app/assets/components/core-menu/index.html +22 -0
  207. data/app/assets/components/core-menu/metadata.html +62 -0
  208. data/app/assets/components/core-menu-button/README.md +2 -0
  209. data/app/assets/components/core-menu-button/bower.json +11 -0
  210. data/app/assets/components/core-menu-button/core-menu-button.html +118 -0
  211. data/app/assets/components/core-menu-button/demo.html +98 -0
  212. data/app/assets/components/core-menu-button/index.html +22 -0
  213. data/app/assets/components/core-menu-button/metadata.html +26 -0
  214. data/app/assets/components/core-meta/README.md +4 -0
  215. data/app/assets/components/core-meta/bower.json +7 -0
  216. data/app/assets/components/core-meta/core-meta.html +24 -22
  217. data/app/assets/components/core-meta/demo.html +58 -0
  218. data/app/assets/components/core-meta/index.html +22 -0
  219. data/app/assets/components/core-overlay/README.md +4 -0
  220. data/app/assets/components/core-overlay/bower.json +8 -0
  221. data/app/assets/components/core-overlay/core-key-helper.html +2 -0
  222. data/app/assets/components/core-overlay/{core-overlay.html.erb → core-overlay.html} +77 -51
  223. data/app/assets/components/core-overlay/demo.html +155 -0
  224. data/app/assets/components/core-overlay/index.html +22 -0
  225. data/app/assets/components/core-pages/README.md +4 -0
  226. data/app/assets/components/core-pages/bower.json +7 -0
  227. data/app/assets/components/core-pages/{core-pages.html.erb → core-pages.html} +5 -4
  228. data/app/assets/components/core-pages/demo.html +136 -0
  229. data/app/assets/components/core-pages/index.html +22 -0
  230. data/app/assets/components/core-pages/metadata.html +25 -0
  231. data/app/assets/components/core-popup-menu/README.md +6 -0
  232. data/app/assets/components/core-popup-menu/bower.json +13 -0
  233. data/app/assets/components/core-popup-menu/core-popup-menu.css +28 -0
  234. data/app/assets/components/core-popup-menu/core-popup-menu.html +198 -0
  235. data/app/assets/components/core-popup-menu/core-popup-overlay.html +111 -0
  236. data/app/assets/components/core-popup-menu/demo.html +542 -0
  237. data/app/assets/components/core-popup-menu/index.html +22 -0
  238. data/app/assets/components/core-popup-menu/metadata.html +62 -0
  239. data/app/assets/components/core-range/README.md +2 -0
  240. data/app/assets/components/core-range/bower.json +7 -0
  241. data/app/assets/components/core-range/core-range.html +16 -15
  242. data/app/assets/components/core-range/demo.html +64 -0
  243. data/app/assets/components/core-range/index.html +22 -0
  244. data/app/assets/components/core-scaffold/README.md +4 -0
  245. data/app/assets/components/core-scaffold/bower.json +10 -0
  246. data/app/assets/components/core-scaffold/{core-scaffold.html.erb → core-scaffold.html} +35 -25
  247. data/app/assets/components/core-scaffold/demo.html +82 -0
  248. data/app/assets/components/core-scaffold/index.html +22 -0
  249. data/app/assets/components/core-scaffold/metadata.html +52 -0
  250. data/app/assets/components/core-scroll-header-panel/README.md +4 -0
  251. data/app/assets/components/core-scroll-header-panel/bower.json +11 -0
  252. data/app/assets/components/core-scroll-header-panel/core-scroll-header-panel.css +1 -0
  253. data/app/assets/components/core-scroll-header-panel/{core-scroll-header-panel.html.erb → core-scroll-header-panel.html} +132 -76
  254. data/app/assets/components/core-scroll-header-panel/demo.html +111 -0
  255. data/app/assets/components/core-scroll-header-panel/demos/demo1.html +80 -0
  256. data/app/assets/components/core-scroll-header-panel/demos/demo2.html +82 -0
  257. data/app/assets/components/core-scroll-header-panel/demos/demo3.html +81 -0
  258. data/app/assets/components/core-scroll-header-panel/demos/demo4.html +109 -0
  259. data/app/assets/components/core-scroll-header-panel/demos/demo5.html +109 -0
  260. data/app/assets/components/core-scroll-header-panel/demos/demo6.html +113 -0
  261. data/app/assets/components/core-scroll-header-panel/demos/demo7.html +120 -0
  262. data/app/assets/components/core-scroll-header-panel/demos/demo8.html +122 -0
  263. data/app/assets/components/core-scroll-header-panel/demos/demo9.html +100 -0
  264. data/app/assets/components/core-scroll-header-panel/demos/images/bg2.jpg +0 -0
  265. data/app/assets/components/core-scroll-header-panel/demos/images/bg3.jpg +0 -0
  266. data/app/assets/components/core-scroll-header-panel/demos/images/bg5.jpg +0 -0
  267. data/app/assets/components/core-scroll-header-panel/demos/images/bg6.jpg +0 -0
  268. data/app/assets/components/core-scroll-header-panel/demos/images/bg9.jpg +0 -0
  269. data/app/assets/components/core-scroll-header-panel/demos/lorem-ipsum.html +42 -0
  270. data/app/assets/components/core-scroll-header-panel/index.html +22 -0
  271. data/app/assets/components/core-scroll-header-panel/metadata.html +41 -0
  272. data/app/assets/components/core-selection/README.md +4 -0
  273. data/app/assets/components/core-selection/bower.json +7 -0
  274. data/app/assets/components/core-selection/core-selection.html +6 -5
  275. data/app/assets/components/core-selection/demo.html +59 -0
  276. data/app/assets/components/core-selection/index.html +22 -0
  277. data/app/assets/components/core-selector/README.md +4 -0
  278. data/app/assets/components/core-selector/bower.json +8 -0
  279. data/app/assets/components/core-selector/{core-selector.html.erb → core-selector.html} +53 -16
  280. data/app/assets/components/core-selector/demo.html +106 -0
  281. data/app/assets/components/core-selector/index.html +22 -0
  282. data/app/assets/components/core-selector/metadata.html +20 -0
  283. data/app/assets/components/core-shared-lib/README.md +4 -0
  284. data/app/assets/components/core-shared-lib/bower.json +7 -0
  285. data/app/assets/components/core-shared-lib/core-shared-lib.html +21 -20
  286. data/app/assets/components/core-shared-lib/demo.html +33 -0
  287. data/app/assets/components/core-shared-lib/index.html +22 -0
  288. data/app/assets/components/core-signals/README.md +4 -0
  289. data/app/assets/components/core-signals/bower.json +7 -0
  290. data/app/assets/components/core-signals/core-signals.html +7 -6
  291. data/app/assets/components/core-signals/demo.html +53 -0
  292. data/app/assets/components/core-signals/index.html +22 -0
  293. data/app/assets/components/core-splitter/README.md +4 -0
  294. data/app/assets/components/core-splitter/bower.json +7 -0
  295. data/app/assets/components/core-splitter/{core-splitter.css.erb → core-splitter.css} +2 -2
  296. data/app/assets/components/core-splitter/{core-splitter.html.erb → core-splitter.html} +13 -25
  297. data/app/assets/components/core-splitter/demo.html +80 -0
  298. data/app/assets/components/core-splitter/index.html +22 -0
  299. data/app/assets/components/core-style/README.md +4 -0
  300. data/app/assets/components/core-style/bower.json +7 -0
  301. data/app/assets/components/core-style/core-style.html +19 -17
  302. data/app/assets/components/core-style/demo.html +58 -0
  303. data/app/assets/components/core-style/elements.html +55 -0
  304. data/app/assets/components/core-style/index.html +22 -0
  305. data/app/assets/components/core-style/my-theme.html +73 -0
  306. data/app/assets/components/core-tests/README.md +4 -0
  307. data/app/assets/components/core-tests/bower.json +7 -0
  308. data/app/assets/components/core-tests/runner.html +29 -0
  309. data/app/assets/components/core-tests/tests/core-ajax.html +49 -0
  310. data/app/assets/components/core-tests/tests/core-collapse.html +68 -0
  311. data/app/assets/components/core-tests/tests/core-localstorage.html +38 -0
  312. data/app/assets/components/core-tests/tests/core-selection-multi.html +55 -0
  313. data/app/assets/components/core-tests/tests/core-selection.html +54 -0
  314. data/app/assets/components/core-tests/tests/core-selector-activate-event.html +50 -0
  315. data/app/assets/components/core-tests/tests/core-selector-basic.html +105 -0
  316. data/app/assets/components/core-tests/tests/core-selector-multi.html +86 -0
  317. data/app/assets/components/core-tests/tests/core-shared-lib.html +48 -0
  318. data/app/assets/components/core-tests/tests/tests.html +46 -0
  319. data/app/assets/components/core-toolbar/README.md +4 -0
  320. data/app/assets/components/core-toolbar/bower.json +7 -0
  321. data/app/assets/components/core-toolbar/core-toolbar.css +1 -17
  322. data/app/assets/components/core-toolbar/{core-toolbar.html.erb → core-toolbar.html} +6 -5
  323. data/app/assets/components/core-toolbar/demo.html +107 -0
  324. data/app/assets/components/core-toolbar/index.html +22 -0
  325. data/app/assets/components/core-toolbar/metadata.html +28 -0
  326. data/app/assets/components/core-tooltip/README.md +4 -0
  327. data/app/assets/components/core-tooltip/bower.json +7 -0
  328. data/app/assets/components/core-tooltip/core-tooltip.css +2 -2
  329. data/app/assets/components/core-tooltip/{core-tooltip.html.erb → core-tooltip.html} +3 -3
  330. data/app/assets/components/core-tooltip/demo.html +176 -0
  331. data/app/assets/components/core-tooltip/index.html +23 -0
  332. data/app/assets/components/core-tooltip/metadata.html +18 -0
  333. data/app/assets/components/core-transition/README.md +2 -0
  334. data/app/assets/components/core-transition/bower.json +8 -0
  335. data/app/assets/components/core-transition/core-transition-css.html +221 -0
  336. data/app/assets/components/core-transition/core-transition.html +140 -0
  337. data/app/assets/components/core-transition/demo.html +87 -0
  338. data/app/assets/components/core-transition/index.html +22 -0
  339. data/app/assets/components/google-code-prettify/CHANGES.html +172 -0
  340. data/app/assets/components/google-code-prettify/COPYING +191 -0
  341. data/app/assets/components/google-code-prettify/README-zh-Hans.html +143 -0
  342. data/app/assets/components/google-code-prettify/README.html +233 -0
  343. data/app/assets/components/google-code-prettify/README.md +54 -0
  344. data/app/assets/components/google-code-prettify/bin/prettify.min.css +1 -0
  345. data/app/assets/components/google-code-prettify/bin/prettify.min.js +30 -0
  346. data/app/assets/components/google-code-prettify/bin/run_prettify.min.js +34 -0
  347. data/app/assets/components/google-code-prettify/bower.json +16 -0
  348. data/app/assets/components/google-code-prettify/examples/quine.html +55 -0
  349. data/app/assets/components/google-code-prettify/src/lang-apollo.js +51 -0
  350. data/app/assets/components/google-code-prettify/src/lang-basic.js +32 -0
  351. data/app/assets/components/google-code-prettify/src/lang-clj.js +64 -0
  352. data/app/assets/components/google-code-prettify/src/lang-css.js +159 -0
  353. data/app/assets/components/google-code-prettify/src/lang-dart.js +88 -0
  354. data/app/assets/components/google-code-prettify/src/lang-erlang.js +92 -0
  355. data/app/assets/components/google-code-prettify/src/lang-go.js +58 -0
  356. data/app/assets/components/google-code-prettify/src/lang-hs.js +101 -0
  357. data/app/assets/components/google-code-prettify/src/lang-lisp.js +94 -0
  358. data/app/assets/components/google-code-prettify/src/lang-llvm.js +61 -0
  359. data/app/assets/components/google-code-prettify/src/lang-lua.js +59 -0
  360. data/app/assets/components/google-code-prettify/src/lang-matlab.js +180 -0
  361. data/app/assets/components/google-code-prettify/src/lang-ml.js +56 -0
  362. data/app/assets/components/google-code-prettify/src/lang-mumps.js +139 -0
  363. data/app/assets/components/google-code-prettify/src/lang-n.js +65 -0
  364. data/app/assets/components/google-code-prettify/src/lang-pascal.js +32 -0
  365. data/app/assets/components/google-code-prettify/src/lang-proto.js +35 -0
  366. data/app/assets/components/google-code-prettify/src/lang-r.js +57 -0
  367. data/app/assets/components/google-code-prettify/src/lang-rd.js +47 -0
  368. data/app/assets/components/google-code-prettify/src/lang-scala.js +54 -0
  369. data/app/assets/components/google-code-prettify/src/lang-sql.js +58 -0
  370. data/app/assets/components/google-code-prettify/src/lang-tcl.js +62 -0
  371. data/app/assets/components/google-code-prettify/src/lang-tex.js +46 -0
  372. data/app/assets/components/google-code-prettify/src/lang-vb.js +66 -0
  373. data/app/assets/components/google-code-prettify/src/lang-vhdl.js +34 -0
  374. data/app/assets/components/google-code-prettify/src/lang-wiki.js +53 -0
  375. data/app/assets/components/google-code-prettify/src/lang-xq.js +67 -0
  376. data/app/assets/components/google-code-prettify/src/lang-yaml.js +27 -0
  377. data/app/assets/components/google-code-prettify/src/prettify.css +52 -0
  378. data/app/assets/components/google-code-prettify/src/prettify.js +1597 -0
  379. data/app/assets/components/google-code-prettify/src/run_prettify.js +1905 -0
  380. data/app/assets/components/google-code-prettify/styles/demo.html +61 -0
  381. data/app/assets/components/google-code-prettify/styles/desert.css +34 -0
  382. data/app/assets/components/google-code-prettify/styles/doxy.css +64 -0
  383. data/app/assets/components/google-code-prettify/styles/index.html +89 -0
  384. data/app/assets/components/google-code-prettify/styles/sons-of-obsidian.css +118 -0
  385. data/app/assets/components/google-code-prettify/styles/sunburst.css +51 -0
  386. data/app/assets/components/marked/LICENSE +19 -0
  387. data/app/assets/components/marked/Makefile +12 -0
  388. data/app/assets/components/marked/README.md +386 -0
  389. data/app/assets/components/marked/bin/marked +187 -0
  390. data/app/assets/components/marked/component.json +10 -0
  391. data/app/assets/components/marked/doc/broken.md +426 -0
  392. data/app/assets/components/marked/doc/todo.md +2 -0
  393. data/app/assets/components/marked/index.js +1 -0
  394. data/app/assets/components/marked/lib/marked.js +1266 -0
  395. data/app/assets/components/marked/man/marked.1 +88 -0
  396. data/app/assets/components/marked/package.json +22 -0
  397. data/app/assets/components/marked/test/README +10 -0
  398. data/app/assets/components/marked/test/browser/index.html +5 -0
  399. data/app/assets/components/marked/test/browser/index.js +41 -0
  400. data/app/assets/components/marked/test/browser/test.js +62 -0
  401. data/app/assets/components/marked/test/index.js +543 -0
  402. data/app/assets/components/marked/test/new/autolink_lines.html +3 -0
  403. data/app/assets/components/marked/test/new/autolink_lines.text +2 -0
  404. data/app/assets/components/marked/test/new/blockquote_list_item.html +3 -0
  405. data/app/assets/components/marked/test/new/blockquote_list_item.text +4 -0
  406. data/app/assets/components/marked/test/new/case_insensitive_refs.html +1 -0
  407. data/app/assets/components/marked/test/new/case_insensitive_refs.text +3 -0
  408. data/app/assets/components/marked/test/new/def_blocks.html +28 -0
  409. data/app/assets/components/marked/test/new/def_blocks.text +21 -0
  410. data/app/assets/components/marked/test/new/double_link.html +5 -0
  411. data/app/assets/components/marked/test/new/double_link.text +5 -0
  412. data/app/assets/components/marked/test/new/escaped_angles.html +1 -0
  413. data/app/assets/components/marked/test/new/escaped_angles.text +1 -0
  414. data/app/assets/components/marked/test/new/gfm_break.breaks.html +1 -0
  415. data/app/assets/components/marked/test/new/gfm_break.breaks.text +3 -0
  416. data/app/assets/components/marked/test/new/gfm_code.html +5 -0
  417. data/app/assets/components/marked/test/new/gfm_code.text +16 -0
  418. data/app/assets/components/marked/test/new/gfm_code_hr_list.html +52 -0
  419. data/app/assets/components/marked/test/new/gfm_code_hr_list.text +53 -0
  420. data/app/assets/components/marked/test/new/gfm_del.html +1 -0
  421. data/app/assets/components/marked/test/new/gfm_del.text +1 -0
  422. data/app/assets/components/marked/test/new/gfm_em.html +1 -0
  423. data/app/assets/components/marked/test/new/gfm_em.text +1 -0
  424. data/app/assets/components/marked/test/new/gfm_links.html +2 -0
  425. data/app/assets/components/marked/test/new/gfm_links.text +1 -0
  426. data/app/assets/components/marked/test/new/gfm_tables.html +37 -0
  427. data/app/assets/components/marked/test/new/gfm_tables.text +21 -0
  428. data/app/assets/components/marked/test/new/hr_list_break.html +10 -0
  429. data/app/assets/components/marked/test/new/hr_list_break.text +6 -0
  430. data/app/assets/components/marked/test/new/lazy_blockquotes.html +4 -0
  431. data/app/assets/components/marked/test/new/lazy_blockquotes.text +2 -0
  432. data/app/assets/components/marked/test/new/list_item_text.html +1 -0
  433. data/app/assets/components/marked/test/new/list_item_text.text +5 -0
  434. data/app/assets/components/marked/test/new/loose_lists.html +62 -0
  435. data/app/assets/components/marked/test/new/loose_lists.text +59 -0
  436. data/app/assets/components/marked/test/new/main.html +4 -0
  437. data/app/assets/components/marked/test/new/main.text +55 -0
  438. data/app/assets/components/marked/test/new/nested_code.html +1 -0
  439. data/app/assets/components/marked/test/new/nested_code.text +1 -0
  440. data/app/assets/components/marked/test/new/nested_em.html +3 -0
  441. data/app/assets/components/marked/test/new/nested_em.text +3 -0
  442. data/app/assets/components/marked/test/new/nested_square_link.html +1 -0
  443. data/app/assets/components/marked/test/new/nested_square_link.text +1 -0
  444. data/app/assets/components/marked/test/new/not_a_link.html +1 -0
  445. data/app/assets/components/marked/test/new/not_a_link.text +1 -0
  446. data/app/assets/components/marked/test/new/ref_paren.html +1 -0
  447. data/app/assets/components/marked/test/new/ref_paren.text +3 -0
  448. data/app/assets/components/marked/test/new/same_bullet.html +5 -0
  449. data/app/assets/components/marked/test/new/same_bullet.text +3 -0
  450. data/app/assets/components/marked/test/new/text.smartypants.html +6 -0
  451. data/app/assets/components/marked/test/new/text.smartypants.text +6 -0
  452. data/app/assets/components/marked/test/new/toplevel_paragraphs.gfm.html +34 -0
  453. data/app/assets/components/marked/test/new/toplevel_paragraphs.gfm.text +37 -0
  454. data/app/assets/components/marked/test/new/tricky_list.html +23 -0
  455. data/app/assets/components/marked/test/new/tricky_list.text +15 -0
  456. data/app/assets/components/marked/test/original/amps_and_angles_encoding.html +17 -0
  457. data/app/assets/components/marked/test/original/amps_and_angles_encoding.text +21 -0
  458. data/app/assets/components/marked/test/original/auto_links.html +18 -0
  459. data/app/assets/components/marked/test/original/auto_links.text +13 -0
  460. data/app/assets/components/marked/test/original/backslash_escapes.html +118 -0
  461. data/app/assets/components/marked/test/original/backslash_escapes.text +120 -0
  462. data/app/assets/components/marked/test/original/blockquotes_with_code_blocks.html +15 -0
  463. data/app/assets/components/marked/test/original/blockquotes_with_code_blocks.text +11 -0
  464. data/app/assets/components/marked/test/original/code_blocks.html +18 -0
  465. data/app/assets/components/marked/test/original/code_blocks.text +14 -0
  466. data/app/assets/components/marked/test/original/code_spans.html +6 -0
  467. data/app/assets/components/marked/test/original/code_spans.text +6 -0
  468. data/app/assets/components/marked/test/original/hard_wrapped_paragraphs_with_list_like_lines.html +8 -0
  469. data/app/assets/components/marked/test/original/hard_wrapped_paragraphs_with_list_like_lines.text +8 -0
  470. data/app/assets/components/marked/test/original/horizontal_rules.html +71 -0
  471. data/app/assets/components/marked/test/original/horizontal_rules.text +67 -0
  472. data/app/assets/components/marked/test/original/inline_html_advanced.html +15 -0
  473. data/app/assets/components/marked/test/original/inline_html_advanced.text +15 -0
  474. data/app/assets/components/marked/test/original/inline_html_comments.html +13 -0
  475. data/app/assets/components/marked/test/original/inline_html_comments.text +13 -0
  476. data/app/assets/components/marked/test/original/inline_html_simple.html +72 -0
  477. data/app/assets/components/marked/test/original/inline_html_simple.text +69 -0
  478. data/app/assets/components/marked/test/original/links_inline_style.html +15 -0
  479. data/app/assets/components/marked/test/original/links_inline_style.text +15 -0
  480. data/app/assets/components/marked/test/original/links_reference_style.html +52 -0
  481. data/app/assets/components/marked/test/original/links_reference_style.text +71 -0
  482. data/app/assets/components/marked/test/original/links_shortcut_references.html +9 -0
  483. data/app/assets/components/marked/test/original/links_shortcut_references.text +20 -0
  484. data/app/assets/components/marked/test/original/literal_quotes_in_titles.html +3 -0
  485. data/app/assets/components/marked/test/original/literal_quotes_in_titles.text +7 -0
  486. data/app/assets/components/marked/test/original/markdown_documentation_basics.html +314 -0
  487. data/app/assets/components/marked/test/original/markdown_documentation_basics.text +306 -0
  488. data/app/assets/components/marked/test/original/markdown_documentation_syntax.html +942 -0
  489. data/app/assets/components/marked/test/original/markdown_documentation_syntax.text +888 -0
  490. data/app/assets/components/marked/test/original/nested_blockquotes.html +9 -0
  491. data/app/assets/components/marked/test/original/nested_blockquotes.text +5 -0
  492. data/app/assets/components/marked/test/original/ordered_and_unordered_lists.html +148 -0
  493. data/app/assets/components/marked/test/original/ordered_and_unordered_lists.text +131 -0
  494. data/app/assets/components/marked/test/original/strong_and_em_together.html +7 -0
  495. data/app/assets/components/marked/test/original/strong_and_em_together.text +7 -0
  496. data/app/assets/components/marked/test/original/tabs.html +25 -0
  497. data/app/assets/components/marked/test/original/tabs.text +21 -0
  498. data/app/assets/components/marked/test/original/tidyness.html +8 -0
  499. data/app/assets/components/marked/test/original/tidyness.text +5 -0
  500. data/app/assets/components/marked/test/tests/amps_and_angles_encoding.html +17 -0
  501. data/app/assets/components/marked/test/tests/amps_and_angles_encoding.text +21 -0
  502. data/app/assets/components/marked/test/tests/auto_links.html +18 -0
  503. data/app/assets/components/marked/test/tests/auto_links.text +13 -0
  504. data/app/assets/components/marked/test/tests/autolink_lines.html +3 -0
  505. data/app/assets/components/marked/test/tests/autolink_lines.text +2 -0
  506. data/app/assets/components/marked/test/tests/backslash_escapes.html +118 -0
  507. data/app/assets/components/marked/test/tests/backslash_escapes.text +120 -0
  508. data/app/assets/components/marked/test/tests/blockquote_list_item.html +3 -0
  509. data/app/assets/components/marked/test/tests/blockquote_list_item.text +4 -0
  510. data/app/assets/components/marked/test/tests/blockquotes_with_code_blocks.html +15 -0
  511. data/app/assets/components/marked/test/tests/blockquotes_with_code_blocks.text +11 -0
  512. data/app/assets/components/marked/test/tests/case_insensitive_refs.html +1 -0
  513. data/app/assets/components/marked/test/tests/case_insensitive_refs.text +3 -0
  514. data/app/assets/components/marked/test/tests/code_blocks.html +18 -0
  515. data/app/assets/components/marked/test/tests/code_blocks.text +14 -0
  516. data/app/assets/components/marked/test/tests/code_spans.html +6 -0
  517. data/app/assets/components/marked/test/tests/code_spans.text +6 -0
  518. data/app/assets/components/marked/test/tests/def_blocks.html +28 -0
  519. data/app/assets/components/marked/test/tests/def_blocks.text +21 -0
  520. data/app/assets/components/marked/test/tests/double_link.html +5 -0
  521. data/app/assets/components/marked/test/tests/double_link.text +5 -0
  522. data/app/assets/components/marked/test/tests/escaped_angles.html +1 -0
  523. data/app/assets/components/marked/test/tests/escaped_angles.text +1 -0
  524. data/app/assets/components/marked/test/tests/gfm_break.breaks.html +1 -0
  525. data/app/assets/components/marked/test/tests/gfm_break.breaks.text +3 -0
  526. data/app/assets/components/marked/test/tests/gfm_code.html +5 -0
  527. data/app/assets/components/marked/test/tests/gfm_code.text +16 -0
  528. data/app/assets/components/marked/test/tests/gfm_code_hr_list.html +52 -0
  529. data/app/assets/components/marked/test/tests/gfm_code_hr_list.text +53 -0
  530. data/app/assets/components/marked/test/tests/gfm_del.html +1 -0
  531. data/app/assets/components/marked/test/tests/gfm_del.text +1 -0
  532. data/app/assets/components/marked/test/tests/gfm_em.html +1 -0
  533. data/app/assets/components/marked/test/tests/gfm_em.text +1 -0
  534. data/app/assets/components/marked/test/tests/gfm_links.html +2 -0
  535. data/app/assets/components/marked/test/tests/gfm_links.text +1 -0
  536. data/app/assets/components/marked/test/tests/gfm_tables.html +37 -0
  537. data/app/assets/components/marked/test/tests/gfm_tables.text +21 -0
  538. data/app/assets/components/marked/test/tests/hard_wrapped_paragraphs_with_list_like_lines.nogfm.html +8 -0
  539. data/app/assets/components/marked/test/tests/hard_wrapped_paragraphs_with_list_like_lines.nogfm.text +8 -0
  540. data/app/assets/components/marked/test/tests/horizontal_rules.html +71 -0
  541. data/app/assets/components/marked/test/tests/horizontal_rules.text +67 -0
  542. data/app/assets/components/marked/test/tests/hr_list_break.html +10 -0
  543. data/app/assets/components/marked/test/tests/hr_list_break.text +6 -0
  544. data/app/assets/components/marked/test/tests/inline_html_advanced.html +15 -0
  545. data/app/assets/components/marked/test/tests/inline_html_advanced.text +15 -0
  546. data/app/assets/components/marked/test/tests/inline_html_comments.html +13 -0
  547. data/app/assets/components/marked/test/tests/inline_html_comments.text +13 -0
  548. data/app/assets/components/marked/test/tests/inline_html_simple.html +72 -0
  549. data/app/assets/components/marked/test/tests/inline_html_simple.text +69 -0
  550. data/app/assets/components/marked/test/tests/lazy_blockquotes.html +4 -0
  551. data/app/assets/components/marked/test/tests/lazy_blockquotes.text +2 -0
  552. data/app/assets/components/marked/test/tests/links_inline_style.html +15 -0
  553. data/app/assets/components/marked/test/tests/links_inline_style.text +15 -0
  554. data/app/assets/components/marked/test/tests/links_reference_style.html +52 -0
  555. data/app/assets/components/marked/test/tests/links_reference_style.text +71 -0
  556. data/app/assets/components/marked/test/tests/links_shortcut_references.html +9 -0
  557. data/app/assets/components/marked/test/tests/links_shortcut_references.text +20 -0
  558. data/app/assets/components/marked/test/tests/list_item_text.html +1 -0
  559. data/app/assets/components/marked/test/tests/list_item_text.text +5 -0
  560. data/app/assets/components/marked/test/tests/literal_quotes_in_titles.html +3 -0
  561. data/app/assets/components/marked/test/tests/literal_quotes_in_titles.text +7 -0
  562. data/app/assets/components/marked/test/tests/loose_lists.html +62 -0
  563. data/app/assets/components/marked/test/tests/loose_lists.text +59 -0
  564. data/app/assets/components/marked/test/tests/main.html +4 -0
  565. data/app/assets/components/marked/test/tests/main.text +55 -0
  566. data/app/assets/components/marked/test/tests/markdown_documentation_basics.html +314 -0
  567. data/app/assets/components/marked/test/tests/markdown_documentation_basics.text +306 -0
  568. data/app/assets/components/marked/test/tests/markdown_documentation_syntax.html +942 -0
  569. data/app/assets/components/marked/test/tests/markdown_documentation_syntax.text +888 -0
  570. data/app/assets/components/marked/test/tests/nested_blockquotes.html +9 -0
  571. data/app/assets/components/marked/test/tests/nested_blockquotes.text +5 -0
  572. data/app/assets/components/marked/test/tests/nested_code.html +1 -0
  573. data/app/assets/components/marked/test/tests/nested_code.text +1 -0
  574. data/app/assets/components/marked/test/tests/nested_em.html +3 -0
  575. data/app/assets/components/marked/test/tests/nested_em.text +3 -0
  576. data/app/assets/components/marked/test/tests/nested_square_link.html +1 -0
  577. data/app/assets/components/marked/test/tests/nested_square_link.text +1 -0
  578. data/app/assets/components/marked/test/tests/not_a_link.html +1 -0
  579. data/app/assets/components/marked/test/tests/not_a_link.text +1 -0
  580. data/app/assets/components/marked/test/tests/ordered_and_unordered_lists.html +148 -0
  581. data/app/assets/components/marked/test/tests/ordered_and_unordered_lists.text +131 -0
  582. data/app/assets/components/marked/test/tests/ref_paren.html +1 -0
  583. data/app/assets/components/marked/test/tests/ref_paren.text +3 -0
  584. data/app/assets/components/marked/test/tests/same_bullet.html +5 -0
  585. data/app/assets/components/marked/test/tests/same_bullet.text +3 -0
  586. data/app/assets/components/marked/test/tests/strong_and_em_together.html +7 -0
  587. data/app/assets/components/marked/test/tests/strong_and_em_together.text +7 -0
  588. data/app/assets/components/marked/test/tests/tabs.html +25 -0
  589. data/app/assets/components/marked/test/tests/tabs.text +21 -0
  590. data/app/assets/components/marked/test/tests/text.smartypants.html +6 -0
  591. data/app/assets/components/marked/test/tests/text.smartypants.text +6 -0
  592. data/app/assets/components/marked/test/tests/tidyness.html +8 -0
  593. data/app/assets/components/marked/test/tests/tidyness.text +5 -0
  594. data/app/assets/components/marked/test/tests/toplevel_paragraphs.gfm.html +34 -0
  595. data/app/assets/components/marked/test/tests/toplevel_paragraphs.gfm.text +37 -0
  596. data/app/assets/components/marked/test/tests/tricky_list.html +23 -0
  597. data/app/assets/components/marked/test/tests/tricky_list.text +15 -0
  598. data/app/assets/components/marked-element/README.md +4 -0
  599. data/app/assets/components/marked-element/bower.json +8 -0
  600. data/app/assets/components/marked-element/demo.html +51 -0
  601. data/app/assets/components/marked-element/index.html +22 -0
  602. data/app/assets/components/marked-element/marked-element.html +50 -0
  603. data/app/assets/components/marked-element/marked-import.html +10 -0
  604. data/app/assets/components/platform/README.md +6 -0
  605. data/app/assets/components/platform/bower.json +16 -0
  606. data/app/assets/components/platform/build.log +35 -0
  607. data/app/assets/components/platform/platform.js +16 -0
  608. data/app/assets/components/platform/platform.js.map +1 -0
  609. data/app/assets/components/polymer/README.md +17 -0
  610. data/app/assets/components/polymer/bower.json +8 -0
  611. data/app/assets/components/polymer/build.log +35 -0
  612. data/app/assets/components/polymer/layout.html +286 -0
  613. data/app/assets/components/polymer/polymer.html +13 -0
  614. data/app/assets/components/polymer/polymer.js +14 -0
  615. data/app/assets/components/polymer/polymer.js.map +1 -0
  616. data/app/assets/components/polymer-test-tools/README.md +4 -0
  617. data/app/assets/components/polymer-test-tools/bower.json +5 -0
  618. data/app/assets/components/polymer-test-tools/chai/CONTRIBUTING.md +173 -0
  619. data/app/assets/components/polymer-test-tools/chai/History.md +895 -0
  620. data/app/assets/components/polymer-test-tools/chai/README.md +99 -0
  621. data/app/assets/components/polymer-test-tools/chai/ReleaseNotes.md +482 -0
  622. data/app/assets/components/polymer-test-tools/chai/bower.json +27 -0
  623. data/app/assets/components/polymer-test-tools/chai/chai.js +4782 -0
  624. data/app/assets/components/polymer-test-tools/chai/component.json +49 -0
  625. data/app/assets/components/polymer-test-tools/chai/karma.conf.js +38 -0
  626. data/app/assets/components/polymer-test-tools/chai/karma.sauce.js +51 -0
  627. data/app/assets/components/polymer-test-tools/chai/package.json +42 -0
  628. data/app/assets/components/polymer-test-tools/chai/sauce.browsers.js +138 -0
  629. data/app/assets/components/polymer-test-tools/htmltest.js +39 -0
  630. data/app/assets/components/polymer-test-tools/karma-common.conf.js +107 -0
  631. data/app/assets/components/polymer-test-tools/mocha/History.md +692 -0
  632. data/app/assets/components/polymer-test-tools/mocha/LICENSE +22 -0
  633. data/app/assets/components/polymer-test-tools/mocha/Readme.md +172 -0
  634. data/app/assets/components/polymer-test-tools/mocha/bower.json +23 -0
  635. data/app/assets/components/polymer-test-tools/mocha/media/logo.svg +8 -0
  636. data/app/assets/components/polymer-test-tools/mocha/mocha.css +270 -0
  637. data/app/assets/components/polymer-test-tools/mocha/mocha.js +5842 -0
  638. data/app/assets/components/polymer-test-tools/mocha-htmltest.js +70 -0
  639. data/app/assets/components/polymer-test-tools/tools.html +14 -0
  640. data/app/assets/components/prettify-element/README.md +14 -0
  641. data/app/assets/components/prettify-element/bower.json +8 -0
  642. data/app/assets/components/prettify-element/demo.html +85 -0
  643. data/app/assets/components/prettify-element/index.html +23 -0
  644. data/app/assets/components/prettify-element/prettify-element.html +120 -0
  645. data/app/assets/components/prettify-element/prettify-import.html +10 -0
  646. data/app/assets/components/sampler-scaffold/README.md +4 -0
  647. data/app/assets/components/sampler-scaffold/bower.json +12 -0
  648. data/app/assets/components/sampler-scaffold/demo.html +54 -0
  649. data/app/assets/components/sampler-scaffold/demos/checkbox.html +20 -0
  650. data/app/assets/components/sampler-scaffold/demos/color.html +20 -0
  651. data/app/assets/components/sampler-scaffold/demos/radio.html +20 -0
  652. data/app/assets/components/sampler-scaffold/demos/range.html +20 -0
  653. data/app/assets/components/sampler-scaffold/demos/string.html +20 -0
  654. data/app/assets/components/sampler-scaffold/index.html +22 -0
  655. data/app/assets/components/sampler-scaffold/sampler-scaffold.css +157 -0
  656. data/app/assets/components/sampler-scaffold/sampler-scaffold.html +224 -0
  657. data/app/assets/components/web-animations-js/COPYING +202 -0
  658. data/app/assets/components/web-animations-js/README.md +237 -0
  659. data/app/assets/components/web-animations-js/run-lint.sh +19 -0
  660. data/app/assets/components/web-animations-js/run-tests-android.sh +25 -0
  661. data/app/assets/components/web-animations-js/run-tests.sh +15 -0
  662. data/app/assets/components/web-animations-js/test/bootstrap.js +1266 -0
  663. data/app/assets/components/web-animations-js/test/img/error.png +0 -0
  664. data/app/assets/components/web-animations-js/test/img/success.png +0 -0
  665. data/app/assets/components/web-animations-js/test/img/unknown.png +0 -0
  666. data/app/assets/components/web-animations-js/test/perf/balls-add-compositing.html +147 -0
  667. data/app/assets/components/web-animations-js/test/perf/balls-replace-compositing.html +144 -0
  668. data/app/assets/components/web-animations-js/test/perf/perf.js +158 -0
  669. data/app/assets/components/web-animations-js/test/perf/updating-inline-style-during-animation.html +165 -0
  670. data/app/assets/components/web-animations-js/test/test-generator.html +240 -0
  671. data/app/assets/components/web-animations-js/test/test-results-post.html +3 -0
  672. data/app/assets/components/web-animations-js/test/test-runner.html +810 -0
  673. data/app/assets/components/web-animations-js/test/testcases/auto-test-box-shadow-checks.js +42 -0
  674. data/app/assets/components/web-animations-js/test/testcases/auto-test-box-shadow.html +40 -0
  675. data/app/assets/components/web-animations-js/test/testcases/auto-test-calc-checks.js +41 -0
  676. data/app/assets/components/web-animations-js/test/testcases/auto-test-calc.html +156 -0
  677. data/app/assets/components/web-animations-js/test/testcases/auto-test-change-playback-rate-checks.js +23 -0
  678. data/app/assets/components/web-animations-js/test/testcases/auto-test-circular-path-checks.js +65 -0
  679. data/app/assets/components/web-animations-js/test/testcases/auto-test-circular-path.html +83 -0
  680. data/app/assets/components/web-animations-js/test/testcases/auto-test-color-checks.js +101 -0
  681. data/app/assets/components/web-animations-js/test/testcases/auto-test-color-names-checks.js +431 -0
  682. data/app/assets/components/web-animations-js/test/testcases/auto-test-color-names.html +204 -0
  683. data/app/assets/components/web-animations-js/test/testcases/auto-test-color.html +117 -0
  684. data/app/assets/components/web-animations-js/test/testcases/auto-test-composite-transforms-checks.js +45 -0
  685. data/app/assets/components/web-animations-js/test/testcases/auto-test-composite-transforms.html +97 -0
  686. data/app/assets/components/web-animations-js/test/testcases/auto-test-compositor-checks.js +26 -0
  687. data/app/assets/components/web-animations-js/test/testcases/auto-test-compositor.html +68 -0
  688. data/app/assets/components/web-animations-js/test/testcases/auto-test-delay-checks.js +92 -0
  689. data/app/assets/components/web-animations-js/test/testcases/auto-test-delay.html +39 -0
  690. data/app/assets/components/web-animations-js/test/testcases/auto-test-element-animate-checks.js +8 -0
  691. data/app/assets/components/web-animations-js/test/testcases/auto-test-element-animate.html +30 -0
  692. data/app/assets/components/web-animations-js/test/testcases/auto-test-fill-values-checks.js +266 -0
  693. data/app/assets/components/web-animations-js/test/testcases/auto-test-fill-values.html +114 -0
  694. data/app/assets/components/web-animations-js/test/testcases/auto-test-font-weight-checks.js +26 -0
  695. data/app/assets/components/web-animations-js/test/testcases/auto-test-font-weight.html +43 -0
  696. data/app/assets/components/web-animations-js/test/testcases/auto-test-initial-checks.js +74 -0
  697. data/app/assets/components/web-animations-js/test/testcases/auto-test-initial.html +242 -0
  698. data/app/assets/components/web-animations-js/test/testcases/auto-test-inline-style-checks.js +17 -0
  699. data/app/assets/components/web-animations-js/test/testcases/auto-test-inline-style-fallback-checks.js +17 -0
  700. data/app/assets/components/web-animations-js/test/testcases/auto-test-inline-style-fallback.html +78 -0
  701. data/app/assets/components/web-animations-js/test/testcases/auto-test-inline-style-methods-checks.js +17 -0
  702. data/app/assets/components/web-animations-js/test/testcases/auto-test-inline-style-methods.html +70 -0
  703. data/app/assets/components/web-animations-js/test/testcases/auto-test-inline-style.html +69 -0
  704. data/app/assets/components/web-animations-js/test/testcases/auto-test-integer-checks.js +38 -0
  705. data/app/assets/components/web-animations-js/test/testcases/auto-test-integer.html +52 -0
  706. data/app/assets/components/web-animations-js/test/testcases/auto-test-iteration-start-checks.js +506 -0
  707. data/app/assets/components/web-animations-js/test/testcases/auto-test-iteration-start.html +160 -0
  708. data/app/assets/components/web-animations-js/test/testcases/auto-test-iterations-alternate-checks.js +44 -0
  709. data/app/assets/components/web-animations-js/test/testcases/auto-test-iterations-alternate-holes-checks.js +41 -0
  710. data/app/assets/components/web-animations-js/test/testcases/auto-test-iterations-alternate-holes.html +48 -0
  711. data/app/assets/components/web-animations-js/test/testcases/auto-test-iterations-alternate.html +50 -0
  712. data/app/assets/components/web-animations-js/test/testcases/auto-test-iterations-basic-checks.js +162 -0
  713. data/app/assets/components/web-animations-js/test/testcases/auto-test-iterations-basic.html +116 -0
  714. data/app/assets/components/web-animations-js/test/testcases/auto-test-iterations-fill-checks.js +602 -0
  715. data/app/assets/components/web-animations-js/test/testcases/auto-test-iterations-fill.html +167 -0
  716. data/app/assets/components/web-animations-js/test/testcases/auto-test-keyframe-creation-checks.js +67 -0
  717. data/app/assets/components/web-animations-js/test/testcases/auto-test-keyframe-creation.html +109 -0
  718. data/app/assets/components/web-animations-js/test/testcases/auto-test-keyframe-easing-checks.js +65 -0
  719. data/app/assets/components/web-animations-js/test/testcases/auto-test-keyframe-easing.html +64 -0
  720. data/app/assets/components/web-animations-js/test/testcases/auto-test-length-units-checks.js +342 -0
  721. data/app/assets/components/web-animations-js/test/testcases/auto-test-length-units.html +103 -0
  722. data/app/assets/components/web-animations-js/test/testcases/auto-test-matrix-transforms-checks.js +56 -0
  723. data/app/assets/components/web-animations-js/test/testcases/auto-test-matrix-transforms.html +90 -0
  724. data/app/assets/components/web-animations-js/test/testcases/auto-test-motion-path-checks.js +110 -0
  725. data/app/assets/components/web-animations-js/test/testcases/auto-test-motion-path.html +133 -0
  726. data/app/assets/components/web-animations-js/test/testcases/auto-test-non-numeric-checks.js +26 -0
  727. data/app/assets/components/web-animations-js/test/testcases/auto-test-non-numeric.html +42 -0
  728. data/app/assets/components/web-animations-js/test/testcases/auto-test-parent-checks.js +38 -0
  729. data/app/assets/components/web-animations-js/test/testcases/auto-test-parent.html +52 -0
  730. data/app/assets/components/web-animations-js/test/testcases/auto-test-partial-keyframes-checks.js +27 -0
  731. data/app/assets/components/web-animations-js/test/testcases/auto-test-partial-keyframes.html +43 -0
  732. data/app/assets/components/web-animations-js/test/testcases/auto-test-path-checks.js +20 -0
  733. data/app/assets/components/web-animations-js/test/testcases/auto-test-path.html +41 -0
  734. data/app/assets/components/web-animations-js/test/testcases/auto-test-pause-checks.js +79 -0
  735. data/app/assets/components/web-animations-js/test/testcases/auto-test-pause.html +82 -0
  736. data/app/assets/components/web-animations-js/test/testcases/auto-test-perspective-checks.js +37 -0
  737. data/app/assets/components/web-animations-js/test/testcases/auto-test-perspective-origin-checks.js +61 -0
  738. data/app/assets/components/web-animations-js/test/testcases/auto-test-perspective-origin.html +94 -0
  739. data/app/assets/components/web-animations-js/test/testcases/auto-test-perspective.html +79 -0
  740. data/app/assets/components/web-animations-js/test/testcases/auto-test-playback-rate-checks.js +146 -0
  741. data/app/assets/components/web-animations-js/test/testcases/auto-test-playback-rate.html +128 -0
  742. data/app/assets/components/web-animations-js/test/testcases/auto-test-position-list-type-checks.js +73 -0
  743. data/app/assets/components/web-animations-js/test/testcases/auto-test-rectangle-checks.js +23 -0
  744. data/app/assets/components/web-animations-js/test/testcases/auto-test-rectangle.html +57 -0
  745. data/app/assets/components/web-animations-js/test/testcases/auto-test-reparent-checks.js +95 -0
  746. data/app/assets/components/web-animations-js/test/testcases/auto-test-reparent.html +60 -0
  747. data/app/assets/components/web-animations-js/test/testcases/auto-test-seq-speed-checks.js +69 -0
  748. data/app/assets/components/web-animations-js/test/testcases/auto-test-seq-speed.html +86 -0
  749. data/app/assets/components/web-animations-js/test/testcases/auto-test-shorthand-checks.js +197 -0
  750. data/app/assets/components/web-animations-js/test/testcases/auto-test-shorthand.html +115 -0
  751. data/app/assets/components/web-animations-js/test/testcases/auto-test-start-time-checks.js +58 -0
  752. data/app/assets/components/web-animations-js/test/testcases/auto-test-start-time-iterations-checks.js +92 -0
  753. data/app/assets/components/web-animations-js/test/testcases/auto-test-start-time-iterations.html +107 -0
  754. data/app/assets/components/web-animations-js/test/testcases/auto-test-start-time.html +90 -0
  755. data/app/assets/components/web-animations-js/test/testcases/auto-test-svg-anim-checks.js +23 -0
  756. data/app/assets/components/web-animations-js/test/testcases/auto-test-svg-anim.html +39 -0
  757. data/app/assets/components/web-animations-js/test/testcases/auto-test-svg-circle-checks.js +23 -0
  758. data/app/assets/components/web-animations-js/test/testcases/auto-test-svg-circle.html +38 -0
  759. data/app/assets/components/web-animations-js/test/testcases/auto-test-svg-color-checks.js +20 -0
  760. data/app/assets/components/web-animations-js/test/testcases/auto-test-svg-color.html +36 -0
  761. data/app/assets/components/web-animations-js/test/testcases/auto-test-text-shadow-checks.js +20 -0
  762. data/app/assets/components/web-animations-js/test/testcases/auto-test-text-shadow.html +37 -0
  763. data/app/assets/components/web-animations-js/test/testcases/auto-test-timing-functions-checks.js +89 -0
  764. data/app/assets/components/web-animations-js/test/testcases/auto-test-timing-functions.html +77 -0
  765. data/app/assets/components/web-animations-js/test/testcases/auto-test-to-animation-checks.js +58 -0
  766. data/app/assets/components/web-animations-js/test/testcases/auto-test-to-animation.html +83 -0
  767. data/app/assets/components/web-animations-js/test/testcases/auto-test-transform-3d-checks.js +134 -0
  768. data/app/assets/components/web-animations-js/test/testcases/auto-test-transform-3d.html +123 -0
  769. data/app/assets/components/web-animations-js/test/testcases/auto-test-transform-functions-checks.js +160 -0
  770. data/app/assets/components/web-animations-js/test/testcases/auto-test-transform-functions.html +158 -0
  771. data/app/assets/components/web-animations-js/test/testcases/auto-test-transform-origin-checks.js +37 -0
  772. data/app/assets/components/web-animations-js/test/testcases/auto-test-transform-origin.html +80 -0
  773. data/app/assets/components/web-animations-js/test/testcases/auto-test-transform-primitives-checks.js +292 -0
  774. data/app/assets/components/web-animations-js/test/testcases/auto-test-transform-primitives.html +97 -0
  775. data/app/assets/components/web-animations-js/test/testcases/auto-test-transform-units-checks.js +202 -0
  776. data/app/assets/components/web-animations-js/test/testcases/auto-test-transform-units.html +98 -0
  777. data/app/assets/components/web-animations-js/test/testcases/auto-test-visibility-checks.js +54 -0
  778. data/app/assets/components/web-animations-js/test/testcases/auto-test-visibility.html +80 -0
  779. data/app/assets/components/web-animations-js/test/testcases/auto-test-wrapping-bug-checks.js +58 -0
  780. data/app/assets/components/web-animations-js/test/testcases/auto-test-wrapping-bug.html +60 -0
  781. data/app/assets/components/web-animations-js/test/testcases/background.png +0 -0
  782. data/app/assets/components/web-animations-js/test/testcases/disabled-auto-test-change-playback-rate.html +65 -0
  783. data/app/assets/components/web-animations-js/test/testcases/disabled-auto-test-position-list-type.html +103 -0
  784. data/app/assets/components/web-animations-js/test/testcases/disabled-media.html +439 -0
  785. data/app/assets/components/web-animations-js/test/testcases/disabled-test-compositing-order.html +112 -0
  786. data/app/assets/components/web-animations-js/test/testcases/impl-test-deprecation.html +85 -0
  787. data/app/assets/components/web-animations-js/test/testcases/impl-test-from-css-value.html +219 -0
  788. data/app/assets/components/web-animations-js/test/testcases/impl-test-paced-timing-function.html +83 -0
  789. data/app/assets/components/web-animations-js/test/testcases/impl-test-totimelinetime.html +37 -0
  790. data/app/assets/components/web-animations-js/test/testcases/impl-unit-test-position-type.html +256 -0
  791. data/app/assets/components/web-animations-js/test/testcases/manual-test-add-player-onend.html +57 -0
  792. data/app/assets/components/web-animations-js/test/testcases/manual-test-preset-timings.html +71 -0
  793. data/app/assets/components/web-animations-js/test/testcases/manual-test-step.html +88 -0
  794. data/app/assets/components/web-animations-js/test/testcases/small.mp4 +0 -0
  795. data/app/assets/components/web-animations-js/test/testcases/small.webm +0 -0
  796. data/app/assets/components/web-animations-js/test/testcases/test-bounds.html +69 -0
  797. data/app/assets/components/web-animations-js/test/testcases/test-document-timeline.html +53 -0
  798. data/app/assets/components/web-animations-js/test/testcases/test-dynamic-load.html +65 -0
  799. data/app/assets/components/web-animations-js/test/testcases/test-fill-auto.html +78 -0
  800. data/app/assets/components/web-animations-js/test/testcases/test-getcurrent.html +324 -0
  801. data/app/assets/components/web-animations-js/test/testcases/test-keyframe-animation-effect.html +248 -0
  802. data/app/assets/components/web-animations-js/test/testcases/test-keyframe-composite-operation.html +182 -0
  803. data/app/assets/components/web-animations-js/test/testcases/test-null-target.html +66 -0
  804. data/app/assets/components/web-animations-js/test/testcases/test-pause-for-testing.html +52 -0
  805. data/app/assets/components/web-animations-js/test/testcases/test-player-addeventlistener.html +161 -0
  806. data/app/assets/components/web-animations-js/test/testcases/test-player-cleanup.html +79 -0
  807. data/app/assets/components/web-animations-js/test/testcases/test-player-finish-event.html +101 -0
  808. data/app/assets/components/web-animations-js/test/testcases/test-player-sort.html +48 -0
  809. data/app/assets/components/web-animations-js/test/testcases/test-player.html +786 -0
  810. data/app/assets/components/web-animations-js/test/testcases/test-pseudo-element-reference.html +38 -0
  811. data/app/assets/components/web-animations-js/test/testcases/test-repeated-pause.html +54 -0
  812. data/app/assets/components/web-animations-js/test/testcases/test-restart.html +115 -0
  813. data/app/assets/components/web-animations-js/test/testcases/test-reversed-player-active-phase.html +28 -0
  814. data/app/assets/components/web-animations-js/test/testcases/test-rotation-not-reversed.html +55 -0
  815. data/app/assets/components/web-animations-js/test/testcases/test-update-state.html +113 -0
  816. data/app/assets/components/web-animations-js/test/testcases/unit-test-clone.html +80 -0
  817. data/app/assets/components/web-animations-js/test/testcases/unit-test-delay.html +66 -0
  818. data/app/assets/components/web-animations-js/test/testcases/unit-test-dom-operations.html +164 -0
  819. data/app/assets/components/web-animations-js/test/testcases/unit-test-duration.html +66 -0
  820. data/app/assets/components/web-animations-js/test/testcases/unit-test-get-siblings.html +112 -0
  821. data/app/assets/components/web-animations-js/test/testcases/unit-test-modify-timing-params.html +105 -0
  822. data/app/assets/components/web-animations-js/test/testcases/unit-test-null-effect.html +43 -0
  823. data/app/assets/components/web-animations-js/test/testcases/unit-test-set-parent.html +111 -0
  824. data/app/assets/components/web-animations-js/test/testcases/unit-test-testharness-failure.html +54 -0
  825. data/app/assets/components/web-animations-js/test/testcases/unit-test-testharness.html +248 -0
  826. data/app/assets/components/web-animations-js/test/testcases/unit-test-unpause.html +68 -0
  827. data/app/assets/components/web-animations-js/test/testcases.js +93 -0
  828. data/app/assets/components/web-animations-js/test/testharness_timing.css +75 -0
  829. data/app/assets/components/web-animations-js/test/update-testcases.py +63 -0
  830. data/app/assets/components/web-animations-js/tools/android/config.sh +8 -0
  831. data/app/assets/components/web-animations-js/tools/android/setup.sh +152 -0
  832. data/app/assets/components/web-animations-js/tools/android/stop.sh +20 -0
  833. data/app/assets/components/web-animations-js/tools/python/requirements.txt +12 -0
  834. data/app/assets/components/web-animations-js/tools/python/run-tests.py +813 -0
  835. data/app/assets/components/web-animations-js/tools/python/setup.sh +60 -0
  836. data/app/assets/components/web-animations-js/tutorial/basic-animations/basic-animation-exercise-1.html +62 -0
  837. data/app/assets/components/web-animations-js/tutorial/basic-animations/basic-animation.html +120 -0
  838. data/app/assets/components/web-animations-js/tutorial/iframe-contents.html +29 -0
  839. data/app/assets/components/web-animations-js/tutorial/jquery.js +9555 -0
  840. data/app/assets/components/web-animations-js/tutorial/page-load.js +114 -0
  841. data/app/assets/components/web-animations-js/tutorial/parallel/parallel-exercise-1.html +58 -0
  842. data/app/assets/components/web-animations-js/tutorial/parallel/parallel.html +101 -0
  843. data/app/assets/components/web-animations-js/tutorial/sample-tutorial.html +44 -0
  844. data/app/assets/components/web-animations-js/tutorial/try-it-yourself.js +216 -0
  845. data/app/assets/components/web-animations-js/tutorial/tutorial-style.css +344 -0
  846. data/app/assets/components/web-animations-js/tutorial/tutorial-testing.js +84 -0
  847. data/app/assets/components/web-animations-js/web-animations.js +77 -214
  848. data/lib/polymer-core-rails/version.rb +1 -1
  849. metadata +833 -46
  850. data/app/assets/components/core-animation/web-animations.html.erb +0 -1
  851. data/app/assets/components/core-drawer-panel/core-drawer-panel.html.erb +0 -150
  852. data/app/assets/components/core-icon/core-icon.html.erb +0 -126
  853. data/app/assets/components/core-input/core-input.html.erb +0 -311
  854. data/app/assets/components/core-menu-button/core-menu-button.html.erb +0 -139
  855. data/app/assets/components/core-transition/core-transition-css.html.erb +0 -76
  856. data/app/assets/components/core-transition/core-transition.html.erb +0 -44
@@ -0,0 +1,888 @@
1
+ Markdown: Syntax
2
+ ================
3
+
4
+ <ul id="ProjectSubmenu">
5
+ <li><a href="/projects/markdown/" title="Markdown Project Page">Main</a></li>
6
+ <li><a href="/projects/markdown/basics" title="Markdown Basics">Basics</a></li>
7
+ <li><a class="selected" title="Markdown Syntax Documentation">Syntax</a></li>
8
+ <li><a href="/projects/markdown/license" title="Pricing and License Information">License</a></li>
9
+ <li><a href="/projects/markdown/dingus" title="Online Markdown Web Form">Dingus</a></li>
10
+ </ul>
11
+
12
+
13
+ * [Overview](#overview)
14
+ * [Philosophy](#philosophy)
15
+ * [Inline HTML](#html)
16
+ * [Automatic Escaping for Special Characters](#autoescape)
17
+ * [Block Elements](#block)
18
+ * [Paragraphs and Line Breaks](#p)
19
+ * [Headers](#header)
20
+ * [Blockquotes](#blockquote)
21
+ * [Lists](#list)
22
+ * [Code Blocks](#precode)
23
+ * [Horizontal Rules](#hr)
24
+ * [Span Elements](#span)
25
+ * [Links](#link)
26
+ * [Emphasis](#em)
27
+ * [Code](#code)
28
+ * [Images](#img)
29
+ * [Miscellaneous](#misc)
30
+ * [Backslash Escapes](#backslash)
31
+ * [Automatic Links](#autolink)
32
+
33
+
34
+ **Note:** This document is itself written using Markdown; you
35
+ can [see the source for it by adding '.text' to the URL][src].
36
+
37
+ [src]: /projects/markdown/syntax.text
38
+
39
+ * * *
40
+
41
+ <h2 id="overview">Overview</h2>
42
+
43
+ <h3 id="philosophy">Philosophy</h3>
44
+
45
+ Markdown is intended to be as easy-to-read and easy-to-write as is feasible.
46
+
47
+ Readability, however, is emphasized above all else. A Markdown-formatted
48
+ document should be publishable as-is, as plain text, without looking
49
+ like it's been marked up with tags or formatting instructions. While
50
+ Markdown's syntax has been influenced by several existing text-to-HTML
51
+ filters -- including [Setext] [1], [atx] [2], [Textile] [3], [reStructuredText] [4],
52
+ [Grutatext] [5], and [EtText] [6] -- the single biggest source of
53
+ inspiration for Markdown's syntax is the format of plain text email.
54
+
55
+ [1]: http://docutils.sourceforge.net/mirror/setext.html
56
+ [2]: http://www.aaronsw.com/2002/atx/
57
+ [3]: http://textism.com/tools/textile/
58
+ [4]: http://docutils.sourceforge.net/rst.html
59
+ [5]: http://www.triptico.com/software/grutatxt.html
60
+ [6]: http://ettext.taint.org/doc/
61
+
62
+ To this end, Markdown's syntax is comprised entirely of punctuation
63
+ characters, which punctuation characters have been carefully chosen so
64
+ as to look like what they mean. E.g., asterisks around a word actually
65
+ look like \*emphasis\*. Markdown lists look like, well, lists. Even
66
+ blockquotes look like quoted passages of text, assuming you've ever
67
+ used email.
68
+
69
+
70
+
71
+ <h3 id="html">Inline HTML</h3>
72
+
73
+ Markdown's syntax is intended for one purpose: to be used as a
74
+ format for *writing* for the web.
75
+
76
+ Markdown is not a replacement for HTML, or even close to it. Its
77
+ syntax is very small, corresponding only to a very small subset of
78
+ HTML tags. The idea is *not* to create a syntax that makes it easier
79
+ to insert HTML tags. In my opinion, HTML tags are already easy to
80
+ insert. The idea for Markdown is to make it easy to read, write, and
81
+ edit prose. HTML is a *publishing* format; Markdown is a *writing*
82
+ format. Thus, Markdown's formatting syntax only addresses issues that
83
+ can be conveyed in plain text.
84
+
85
+ For any markup that is not covered by Markdown's syntax, you simply
86
+ use HTML itself. There's no need to preface it or delimit it to
87
+ indicate that you're switching from Markdown to HTML; you just use
88
+ the tags.
89
+
90
+ The only restrictions are that block-level HTML elements -- e.g. `<div>`,
91
+ `<table>`, `<pre>`, `<p>`, etc. -- must be separated from surrounding
92
+ content by blank lines, and the start and end tags of the block should
93
+ not be indented with tabs or spaces. Markdown is smart enough not
94
+ to add extra (unwanted) `<p>` tags around HTML block-level tags.
95
+
96
+ For example, to add an HTML table to a Markdown article:
97
+
98
+ This is a regular paragraph.
99
+
100
+ <table>
101
+ <tr>
102
+ <td>Foo</td>
103
+ </tr>
104
+ </table>
105
+
106
+ This is another regular paragraph.
107
+
108
+ Note that Markdown formatting syntax is not processed within block-level
109
+ HTML tags. E.g., you can't use Markdown-style `*emphasis*` inside an
110
+ HTML block.
111
+
112
+ Span-level HTML tags -- e.g. `<span>`, `<cite>`, or `<del>` -- can be
113
+ used anywhere in a Markdown paragraph, list item, or header. If you
114
+ want, you can even use HTML tags instead of Markdown formatting; e.g. if
115
+ you'd prefer to use HTML `<a>` or `<img>` tags instead of Markdown's
116
+ link or image syntax, go right ahead.
117
+
118
+ Unlike block-level HTML tags, Markdown syntax *is* processed within
119
+ span-level tags.
120
+
121
+
122
+ <h3 id="autoescape">Automatic Escaping for Special Characters</h3>
123
+
124
+ In HTML, there are two characters that demand special treatment: `<`
125
+ and `&`. Left angle brackets are used to start tags; ampersands are
126
+ used to denote HTML entities. If you want to use them as literal
127
+ characters, you must escape them as entities, e.g. `&lt;`, and
128
+ `&amp;`.
129
+
130
+ Ampersands in particular are bedeviling for web writers. If you want to
131
+ write about 'AT&T', you need to write '`AT&amp;T`'. You even need to
132
+ escape ampersands within URLs. Thus, if you want to link to:
133
+
134
+ http://images.google.com/images?num=30&q=larry+bird
135
+
136
+ you need to encode the URL as:
137
+
138
+ http://images.google.com/images?num=30&amp;q=larry+bird
139
+
140
+ in your anchor tag `href` attribute. Needless to say, this is easy to
141
+ forget, and is probably the single most common source of HTML validation
142
+ errors in otherwise well-marked-up web sites.
143
+
144
+ Markdown allows you to use these characters naturally, taking care of
145
+ all the necessary escaping for you. If you use an ampersand as part of
146
+ an HTML entity, it remains unchanged; otherwise it will be translated
147
+ into `&amp;`.
148
+
149
+ So, if you want to include a copyright symbol in your article, you can write:
150
+
151
+ &copy;
152
+
153
+ and Markdown will leave it alone. But if you write:
154
+
155
+ AT&T
156
+
157
+ Markdown will translate it to:
158
+
159
+ AT&amp;T
160
+
161
+ Similarly, because Markdown supports [inline HTML](#html), if you use
162
+ angle brackets as delimiters for HTML tags, Markdown will treat them as
163
+ such. But if you write:
164
+
165
+ 4 < 5
166
+
167
+ Markdown will translate it to:
168
+
169
+ 4 &lt; 5
170
+
171
+ However, inside Markdown code spans and blocks, angle brackets and
172
+ ampersands are *always* encoded automatically. This makes it easy to use
173
+ Markdown to write about HTML code. (As opposed to raw HTML, which is a
174
+ terrible format for writing about HTML syntax, because every single `<`
175
+ and `&` in your example code needs to be escaped.)
176
+
177
+
178
+ * * *
179
+
180
+
181
+ <h2 id="block">Block Elements</h2>
182
+
183
+
184
+ <h3 id="p">Paragraphs and Line Breaks</h3>
185
+
186
+ A paragraph is simply one or more consecutive lines of text, separated
187
+ by one or more blank lines. (A blank line is any line that looks like a
188
+ blank line -- a line containing nothing but spaces or tabs is considered
189
+ blank.) Normal paragraphs should not be intended with spaces or tabs.
190
+
191
+ The implication of the "one or more consecutive lines of text" rule is
192
+ that Markdown supports "hard-wrapped" text paragraphs. This differs
193
+ significantly from most other text-to-HTML formatters (including Movable
194
+ Type's "Convert Line Breaks" option) which translate every line break
195
+ character in a paragraph into a `<br />` tag.
196
+
197
+ When you *do* want to insert a `<br />` break tag using Markdown, you
198
+ end a line with two or more spaces, then type return.
199
+
200
+ Yes, this takes a tad more effort to create a `<br />`, but a simplistic
201
+ "every line break is a `<br />`" rule wouldn't work for Markdown.
202
+ Markdown's email-style [blockquoting][bq] and multi-paragraph [list items][l]
203
+ work best -- and look better -- when you format them with hard breaks.
204
+
205
+ [bq]: #blockquote
206
+ [l]: #list
207
+
208
+
209
+
210
+ <h3 id="header">Headers</h3>
211
+
212
+ Markdown supports two styles of headers, [Setext] [1] and [atx] [2].
213
+
214
+ Setext-style headers are "underlined" using equal signs (for first-level
215
+ headers) and dashes (for second-level headers). For example:
216
+
217
+ This is an H1
218
+ =============
219
+
220
+ This is an H2
221
+ -------------
222
+
223
+ Any number of underlining `=`'s or `-`'s will work.
224
+
225
+ Atx-style headers use 1-6 hash characters at the start of the line,
226
+ corresponding to header levels 1-6. For example:
227
+
228
+ # This is an H1
229
+
230
+ ## This is an H2
231
+
232
+ ###### This is an H6
233
+
234
+ Optionally, you may "close" atx-style headers. This is purely
235
+ cosmetic -- you can use this if you think it looks better. The
236
+ closing hashes don't even need to match the number of hashes
237
+ used to open the header. (The number of opening hashes
238
+ determines the header level.) :
239
+
240
+ # This is an H1 #
241
+
242
+ ## This is an H2 ##
243
+
244
+ ### This is an H3 ######
245
+
246
+
247
+ <h3 id="blockquote">Blockquotes</h3>
248
+
249
+ Markdown uses email-style `>` characters for blockquoting. If you're
250
+ familiar with quoting passages of text in an email message, then you
251
+ know how to create a blockquote in Markdown. It looks best if you hard
252
+ wrap the text and put a `>` before every line:
253
+
254
+ > This is a blockquote with two paragraphs. Lorem ipsum dolor sit amet,
255
+ > consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus.
256
+ > Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus.
257
+ >
258
+ > Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse
259
+ > id sem consectetuer libero luctus adipiscing.
260
+
261
+ Markdown allows you to be lazy and only put the `>` before the first
262
+ line of a hard-wrapped paragraph:
263
+
264
+ > This is a blockquote with two paragraphs. Lorem ipsum dolor sit amet,
265
+ consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus.
266
+ Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus.
267
+
268
+ > Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse
269
+ id sem consectetuer libero luctus adipiscing.
270
+
271
+ Blockquotes can be nested (i.e. a blockquote-in-a-blockquote) by
272
+ adding additional levels of `>`:
273
+
274
+ > This is the first level of quoting.
275
+ >
276
+ > > This is nested blockquote.
277
+ >
278
+ > Back to the first level.
279
+
280
+ Blockquotes can contain other Markdown elements, including headers, lists,
281
+ and code blocks:
282
+
283
+ > ## This is a header.
284
+ >
285
+ > 1. This is the first list item.
286
+ > 2. This is the second list item.
287
+ >
288
+ > Here's some example code:
289
+ >
290
+ > return shell_exec("echo $input | $markdown_script");
291
+
292
+ Any decent text editor should make email-style quoting easy. For
293
+ example, with BBEdit, you can make a selection and choose Increase
294
+ Quote Level from the Text menu.
295
+
296
+
297
+ <h3 id="list">Lists</h3>
298
+
299
+ Markdown supports ordered (numbered) and unordered (bulleted) lists.
300
+
301
+ Unordered lists use asterisks, pluses, and hyphens -- interchangably
302
+ -- as list markers:
303
+
304
+ * Red
305
+ * Green
306
+ * Blue
307
+
308
+ is equivalent to:
309
+
310
+ + Red
311
+ + Green
312
+ + Blue
313
+
314
+ and:
315
+
316
+ - Red
317
+ - Green
318
+ - Blue
319
+
320
+ Ordered lists use numbers followed by periods:
321
+
322
+ 1. Bird
323
+ 2. McHale
324
+ 3. Parish
325
+
326
+ It's important to note that the actual numbers you use to mark the
327
+ list have no effect on the HTML output Markdown produces. The HTML
328
+ Markdown produces from the above list is:
329
+
330
+ <ol>
331
+ <li>Bird</li>
332
+ <li>McHale</li>
333
+ <li>Parish</li>
334
+ </ol>
335
+
336
+ If you instead wrote the list in Markdown like this:
337
+
338
+ 1. Bird
339
+ 1. McHale
340
+ 1. Parish
341
+
342
+ or even:
343
+
344
+ 3. Bird
345
+ 1. McHale
346
+ 8. Parish
347
+
348
+ you'd get the exact same HTML output. The point is, if you want to,
349
+ you can use ordinal numbers in your ordered Markdown lists, so that
350
+ the numbers in your source match the numbers in your published HTML.
351
+ But if you want to be lazy, you don't have to.
352
+
353
+ If you do use lazy list numbering, however, you should still start the
354
+ list with the number 1. At some point in the future, Markdown may support
355
+ starting ordered lists at an arbitrary number.
356
+
357
+ List markers typically start at the left margin, but may be indented by
358
+ up to three spaces. List markers must be followed by one or more spaces
359
+ or a tab.
360
+
361
+ To make lists look nice, you can wrap items with hanging indents:
362
+
363
+ * Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
364
+ Aliquam hendrerit mi posuere lectus. Vestibulum enim wisi,
365
+ viverra nec, fringilla in, laoreet vitae, risus.
366
+ * Donec sit amet nisl. Aliquam semper ipsum sit amet velit.
367
+ Suspendisse id sem consectetuer libero luctus adipiscing.
368
+
369
+ But if you want to be lazy, you don't have to:
370
+
371
+ * Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
372
+ Aliquam hendrerit mi posuere lectus. Vestibulum enim wisi,
373
+ viverra nec, fringilla in, laoreet vitae, risus.
374
+ * Donec sit amet nisl. Aliquam semper ipsum sit amet velit.
375
+ Suspendisse id sem consectetuer libero luctus adipiscing.
376
+
377
+ If list items are separated by blank lines, Markdown will wrap the
378
+ items in `<p>` tags in the HTML output. For example, this input:
379
+
380
+ * Bird
381
+ * Magic
382
+
383
+ will turn into:
384
+
385
+ <ul>
386
+ <li>Bird</li>
387
+ <li>Magic</li>
388
+ </ul>
389
+
390
+ But this:
391
+
392
+ * Bird
393
+
394
+ * Magic
395
+
396
+ will turn into:
397
+
398
+ <ul>
399
+ <li><p>Bird</p></li>
400
+ <li><p>Magic</p></li>
401
+ </ul>
402
+
403
+ List items may consist of multiple paragraphs. Each subsequent
404
+ paragraph in a list item must be intended by either 4 spaces
405
+ or one tab:
406
+
407
+ 1. This is a list item with two paragraphs. Lorem ipsum dolor
408
+ sit amet, consectetuer adipiscing elit. Aliquam hendrerit
409
+ mi posuere lectus.
410
+
411
+ Vestibulum enim wisi, viverra nec, fringilla in, laoreet
412
+ vitae, risus. Donec sit amet nisl. Aliquam semper ipsum
413
+ sit amet velit.
414
+
415
+ 2. Suspendisse id sem consectetuer libero luctus adipiscing.
416
+
417
+ It looks nice if you indent every line of the subsequent
418
+ paragraphs, but here again, Markdown will allow you to be
419
+ lazy:
420
+
421
+ * This is a list item with two paragraphs.
422
+
423
+ This is the second paragraph in the list item. You're
424
+ only required to indent the first line. Lorem ipsum dolor
425
+ sit amet, consectetuer adipiscing elit.
426
+
427
+ * Another item in the same list.
428
+
429
+ To put a blockquote within a list item, the blockquote's `>`
430
+ delimiters need to be indented:
431
+
432
+ * A list item with a blockquote:
433
+
434
+ > This is a blockquote
435
+ > inside a list item.
436
+
437
+ To put a code block within a list item, the code block needs
438
+ to be indented *twice* -- 8 spaces or two tabs:
439
+
440
+ * A list item with a code block:
441
+
442
+ <code goes here>
443
+
444
+
445
+ It's worth noting that it's possible to trigger an ordered list by
446
+ accident, by writing something like this:
447
+
448
+ 1986. What a great season.
449
+
450
+ In other words, a *number-period-space* sequence at the beginning of a
451
+ line. To avoid this, you can backslash-escape the period:
452
+
453
+ 1986\. What a great season.
454
+
455
+
456
+
457
+ <h3 id="precode">Code Blocks</h3>
458
+
459
+ Pre-formatted code blocks are used for writing about programming or
460
+ markup source code. Rather than forming normal paragraphs, the lines
461
+ of a code block are interpreted literally. Markdown wraps a code block
462
+ in both `<pre>` and `<code>` tags.
463
+
464
+ To produce a code block in Markdown, simply indent every line of the
465
+ block by at least 4 spaces or 1 tab. For example, given this input:
466
+
467
+ This is a normal paragraph:
468
+
469
+ This is a code block.
470
+
471
+ Markdown will generate:
472
+
473
+ <p>This is a normal paragraph:</p>
474
+
475
+ <pre><code>This is a code block.
476
+ </code></pre>
477
+
478
+ One level of indentation -- 4 spaces or 1 tab -- is removed from each
479
+ line of the code block. For example, this:
480
+
481
+ Here is an example of AppleScript:
482
+
483
+ tell application "Foo"
484
+ beep
485
+ end tell
486
+
487
+ will turn into:
488
+
489
+ <p>Here is an example of AppleScript:</p>
490
+
491
+ <pre><code>tell application "Foo"
492
+ beep
493
+ end tell
494
+ </code></pre>
495
+
496
+ A code block continues until it reaches a line that is not indented
497
+ (or the end of the article).
498
+
499
+ Within a code block, ampersands (`&`) and angle brackets (`<` and `>`)
500
+ are automatically converted into HTML entities. This makes it very
501
+ easy to include example HTML source code using Markdown -- just paste
502
+ it and indent it, and Markdown will handle the hassle of encoding the
503
+ ampersands and angle brackets. For example, this:
504
+
505
+ <div class="footer">
506
+ &copy; 2004 Foo Corporation
507
+ </div>
508
+
509
+ will turn into:
510
+
511
+ <pre><code>&lt;div class="footer"&gt;
512
+ &amp;copy; 2004 Foo Corporation
513
+ &lt;/div&gt;
514
+ </code></pre>
515
+
516
+ Regular Markdown syntax is not processed within code blocks. E.g.,
517
+ asterisks are just literal asterisks within a code block. This means
518
+ it's also easy to use Markdown to write about Markdown's own syntax.
519
+
520
+
521
+
522
+ <h3 id="hr">Horizontal Rules</h3>
523
+
524
+ You can produce a horizontal rule tag (`<hr />`) by placing three or
525
+ more hyphens, asterisks, or underscores on a line by themselves. If you
526
+ wish, you may use spaces between the hyphens or asterisks. Each of the
527
+ following lines will produce a horizontal rule:
528
+
529
+ * * *
530
+
531
+ ***
532
+
533
+ *****
534
+
535
+ - - -
536
+
537
+ ---------------------------------------
538
+
539
+ _ _ _
540
+
541
+
542
+ * * *
543
+
544
+ <h2 id="span">Span Elements</h2>
545
+
546
+ <h3 id="link">Links</h3>
547
+
548
+ Markdown supports two style of links: *inline* and *reference*.
549
+
550
+ In both styles, the link text is delimited by [square brackets].
551
+
552
+ To create an inline link, use a set of regular parentheses immediately
553
+ after the link text's closing square bracket. Inside the parentheses,
554
+ put the URL where you want the link to point, along with an *optional*
555
+ title for the link, surrounded in quotes. For example:
556
+
557
+ This is [an example](http://example.com/ "Title") inline link.
558
+
559
+ [This link](http://example.net/) has no title attribute.
560
+
561
+ Will produce:
562
+
563
+ <p>This is <a href="http://example.com/" title="Title">
564
+ an example</a> inline link.</p>
565
+
566
+ <p><a href="http://example.net/">This link</a> has no
567
+ title attribute.</p>
568
+
569
+ If you're referring to a local resource on the same server, you can
570
+ use relative paths:
571
+
572
+ See my [About](/about/) page for details.
573
+
574
+ Reference-style links use a second set of square brackets, inside
575
+ which you place a label of your choosing to identify the link:
576
+
577
+ This is [an example][id] reference-style link.
578
+
579
+ You can optionally use a space to separate the sets of brackets:
580
+
581
+ This is [an example] [id] reference-style link.
582
+
583
+ Then, anywhere in the document, you define your link label like this,
584
+ on a line by itself:
585
+
586
+ [id]: http://example.com/ "Optional Title Here"
587
+
588
+ That is:
589
+
590
+ * Square brackets containing the link identifier (optionally
591
+ indented from the left margin using up to three spaces);
592
+ * followed by a colon;
593
+ * followed by one or more spaces (or tabs);
594
+ * followed by the URL for the link;
595
+ * optionally followed by a title attribute for the link, enclosed
596
+ in double or single quotes.
597
+
598
+ The link URL may, optionally, be surrounded by angle brackets:
599
+
600
+ [id]: <http://example.com/> "Optional Title Here"
601
+
602
+ You can put the title attribute on the next line and use extra spaces
603
+ or tabs for padding, which tends to look better with longer URLs:
604
+
605
+ [id]: http://example.com/longish/path/to/resource/here
606
+ "Optional Title Here"
607
+
608
+ Link definitions are only used for creating links during Markdown
609
+ processing, and are stripped from your document in the HTML output.
610
+
611
+ Link definition names may constist of letters, numbers, spaces, and punctuation -- but they are *not* case sensitive. E.g. these two links:
612
+
613
+ [link text][a]
614
+ [link text][A]
615
+
616
+ are equivalent.
617
+
618
+ The *implicit link name* shortcut allows you to omit the name of the
619
+ link, in which case the link text itself is used as the name.
620
+ Just use an empty set of square brackets -- e.g., to link the word
621
+ "Google" to the google.com web site, you could simply write:
622
+
623
+ [Google][]
624
+
625
+ And then define the link:
626
+
627
+ [Google]: http://google.com/
628
+
629
+ Because link names may contain spaces, this shortcut even works for
630
+ multiple words in the link text:
631
+
632
+ Visit [Daring Fireball][] for more information.
633
+
634
+ And then define the link:
635
+
636
+ [Daring Fireball]: http://daringfireball.net/
637
+
638
+ Link definitions can be placed anywhere in your Markdown document. I
639
+ tend to put them immediately after each paragraph in which they're
640
+ used, but if you want, you can put them all at the end of your
641
+ document, sort of like footnotes.
642
+
643
+ Here's an example of reference links in action:
644
+
645
+ I get 10 times more traffic from [Google] [1] than from
646
+ [Yahoo] [2] or [MSN] [3].
647
+
648
+ [1]: http://google.com/ "Google"
649
+ [2]: http://search.yahoo.com/ "Yahoo Search"
650
+ [3]: http://search.msn.com/ "MSN Search"
651
+
652
+ Using the implicit link name shortcut, you could instead write:
653
+
654
+ I get 10 times more traffic from [Google][] than from
655
+ [Yahoo][] or [MSN][].
656
+
657
+ [google]: http://google.com/ "Google"
658
+ [yahoo]: http://search.yahoo.com/ "Yahoo Search"
659
+ [msn]: http://search.msn.com/ "MSN Search"
660
+
661
+ Both of the above examples will produce the following HTML output:
662
+
663
+ <p>I get 10 times more traffic from <a href="http://google.com/"
664
+ title="Google">Google</a> than from
665
+ <a href="http://search.yahoo.com/" title="Yahoo Search">Yahoo</a>
666
+ or <a href="http://search.msn.com/" title="MSN Search">MSN</a>.</p>
667
+
668
+ For comparison, here is the same paragraph written using
669
+ Markdown's inline link style:
670
+
671
+ I get 10 times more traffic from [Google](http://google.com/ "Google")
672
+ than from [Yahoo](http://search.yahoo.com/ "Yahoo Search") or
673
+ [MSN](http://search.msn.com/ "MSN Search").
674
+
675
+ The point of reference-style links is not that they're easier to
676
+ write. The point is that with reference-style links, your document
677
+ source is vastly more readable. Compare the above examples: using
678
+ reference-style links, the paragraph itself is only 81 characters
679
+ long; with inline-style links, it's 176 characters; and as raw HTML,
680
+ it's 234 characters. In the raw HTML, there's more markup than there
681
+ is text.
682
+
683
+ With Markdown's reference-style links, a source document much more
684
+ closely resembles the final output, as rendered in a browser. By
685
+ allowing you to move the markup-related metadata out of the paragraph,
686
+ you can add links without interrupting the narrative flow of your
687
+ prose.
688
+
689
+
690
+ <h3 id="em">Emphasis</h3>
691
+
692
+ Markdown treats asterisks (`*`) and underscores (`_`) as indicators of
693
+ emphasis. Text wrapped with one `*` or `_` will be wrapped with an
694
+ HTML `<em>` tag; double `*`'s or `_`'s will be wrapped with an HTML
695
+ `<strong>` tag. E.g., this input:
696
+
697
+ *single asterisks*
698
+
699
+ _single underscores_
700
+
701
+ **double asterisks**
702
+
703
+ __double underscores__
704
+
705
+ will produce:
706
+
707
+ <em>single asterisks</em>
708
+
709
+ <em>single underscores</em>
710
+
711
+ <strong>double asterisks</strong>
712
+
713
+ <strong>double underscores</strong>
714
+
715
+ You can use whichever style you prefer; the lone restriction is that
716
+ the same character must be used to open and close an emphasis span.
717
+
718
+ Emphasis can be used in the middle of a word:
719
+
720
+ un*fucking*believable
721
+
722
+ But if you surround an `*` or `_` with spaces, it'll be treated as a
723
+ literal asterisk or underscore.
724
+
725
+ To produce a literal asterisk or underscore at a position where it
726
+ would otherwise be used as an emphasis delimiter, you can backslash
727
+ escape it:
728
+
729
+ \*this text is surrounded by literal asterisks\*
730
+
731
+
732
+
733
+ <h3 id="code">Code</h3>
734
+
735
+ To indicate a span of code, wrap it with backtick quotes (`` ` ``).
736
+ Unlike a pre-formatted code block, a code span indicates code within a
737
+ normal paragraph. For example:
738
+
739
+ Use the `printf()` function.
740
+
741
+ will produce:
742
+
743
+ <p>Use the <code>printf()</code> function.</p>
744
+
745
+ To include a literal backtick character within a code span, you can use
746
+ multiple backticks as the opening and closing delimiters:
747
+
748
+ ``There is a literal backtick (`) here.``
749
+
750
+ which will produce this:
751
+
752
+ <p><code>There is a literal backtick (`) here.</code></p>
753
+
754
+ The backtick delimiters surrounding a code span may include spaces --
755
+ one after the opening, one before the closing. This allows you to place
756
+ literal backtick characters at the beginning or end of a code span:
757
+
758
+ A single backtick in a code span: `` ` ``
759
+
760
+ A backtick-delimited string in a code span: `` `foo` ``
761
+
762
+ will produce:
763
+
764
+ <p>A single backtick in a code span: <code>`</code></p>
765
+
766
+ <p>A backtick-delimited string in a code span: <code>`foo`</code></p>
767
+
768
+ With a code span, ampersands and angle brackets are encoded as HTML
769
+ entities automatically, which makes it easy to include example HTML
770
+ tags. Markdown will turn this:
771
+
772
+ Please don't use any `<blink>` tags.
773
+
774
+ into:
775
+
776
+ <p>Please don't use any <code>&lt;blink&gt;</code> tags.</p>
777
+
778
+ You can write this:
779
+
780
+ `&#8212;` is the decimal-encoded equivalent of `&mdash;`.
781
+
782
+ to produce:
783
+
784
+ <p><code>&amp;#8212;</code> is the decimal-encoded
785
+ equivalent of <code>&amp;mdash;</code>.</p>
786
+
787
+
788
+
789
+ <h3 id="img">Images</h3>
790
+
791
+ Admittedly, it's fairly difficult to devise a "natural" syntax for
792
+ placing images into a plain text document format.
793
+
794
+ Markdown uses an image syntax that is intended to resemble the syntax
795
+ for links, allowing for two styles: *inline* and *reference*.
796
+
797
+ Inline image syntax looks like this:
798
+
799
+ ![Alt text](/path/to/img.jpg)
800
+
801
+ ![Alt text](/path/to/img.jpg "Optional title")
802
+
803
+ That is:
804
+
805
+ * An exclamation mark: `!`;
806
+ * followed by a set of square brackets, containing the `alt`
807
+ attribute text for the image;
808
+ * followed by a set of parentheses, containing the URL or path to
809
+ the image, and an optional `title` attribute enclosed in double
810
+ or single quotes.
811
+
812
+ Reference-style image syntax looks like this:
813
+
814
+ ![Alt text][id]
815
+
816
+ Where "id" is the name of a defined image reference. Image references
817
+ are defined using syntax identical to link references:
818
+
819
+ [id]: url/to/image "Optional title attribute"
820
+
821
+ As of this writing, Markdown has no syntax for specifying the
822
+ dimensions of an image; if this is important to you, you can simply
823
+ use regular HTML `<img>` tags.
824
+
825
+
826
+ * * *
827
+
828
+
829
+ <h2 id="misc">Miscellaneous</h2>
830
+
831
+ <h3 id="autolink">Automatic Links</h3>
832
+
833
+ Markdown supports a shortcut style for creating "automatic" links for URLs and email addresses: simply surround the URL or email address with angle brackets. What this means is that if you want to show the actual text of a URL or email address, and also have it be a clickable link, you can do this:
834
+
835
+ <http://example.com/>
836
+
837
+ Markdown will turn this into:
838
+
839
+ <a href="http://example.com/">http://example.com/</a>
840
+
841
+ Automatic links for email addresses work similarly, except that
842
+ Markdown will also perform a bit of randomized decimal and hex
843
+ entity-encoding to help obscure your address from address-harvesting
844
+ spambots. For example, Markdown will turn this:
845
+
846
+ <address@example.com>
847
+
848
+ into something like this:
849
+
850
+ <a href="&#x6D;&#x61;i&#x6C;&#x74;&#x6F;:&#x61;&#x64;&#x64;&#x72;&#x65;
851
+ &#115;&#115;&#64;&#101;&#120;&#x61;&#109;&#x70;&#x6C;e&#x2E;&#99;&#111;
852
+ &#109;">&#x61;&#x64;&#x64;&#x72;&#x65;&#115;&#115;&#64;&#101;&#120;&#x61;
853
+ &#109;&#x70;&#x6C;e&#x2E;&#99;&#111;&#109;</a>
854
+
855
+ which will render in a browser as a clickable link to "address@example.com".
856
+
857
+ (This sort of entity-encoding trick will indeed fool many, if not
858
+ most, address-harvesting bots, but it definitely won't fool all of
859
+ them. It's better than nothing, but an address published in this way
860
+ will probably eventually start receiving spam.)
861
+
862
+
863
+
864
+ <h3 id="backslash">Backslash Escapes</h3>
865
+
866
+ Markdown allows you to use backslash escapes to generate literal
867
+ characters which would otherwise have special meaning in Markdown's
868
+ formatting syntax. For example, if you wanted to surround a word with
869
+ literal asterisks (instead of an HTML `<em>` tag), you can backslashes
870
+ before the asterisks, like this:
871
+
872
+ \*literal asterisks\*
873
+
874
+ Markdown provides backslash escapes for the following characters:
875
+
876
+ \ backslash
877
+ ` backtick
878
+ * asterisk
879
+ _ underscore
880
+ {} curly braces
881
+ [] square brackets
882
+ () parentheses
883
+ # hash mark
884
+ + plus sign
885
+ - minus sign (hyphen)
886
+ . dot
887
+ ! exclamation mark
888
+