emoji.html 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  1. <!DOCTYPE html>
  2. <html lang="zh">
  3. <head>
  4. <meta charset="utf-8" />
  5. <title>Emoji - Editor.md examples</title>
  6. <link rel="stylesheet" href="css/style.css" />
  7. <link rel="stylesheet" href="../css/editormd.css" />
  8. <link rel="shortcut icon" href="https://pandao.github.io/editor.md/favicon.ico" type="image/x-icon" />
  9. <style>
  10. </style>
  11. </head>
  12. <body>
  13. <div id="layout">
  14. <header>
  15. <h1>Emoji 表情</h1>
  16. <p>Supports:</p>
  17. <ul style="margin: 10px 0 0 18px;">
  18. <li>Github emoji : <a href="http://www.emoji-cheat-sheet.com/" target="_blank">http://www.emoji-cheat-sheet.com/</a></li>
  19. <li>Twitter Emoji(Twemoji) : <a href="http://twitter.github.io/twemoji/preview.html" target="_blank">http://twitter.github.io/twemoji/preview.html</a></li>
  20. <li>FontAwesome icon font emoji : <a href="http://fortawesome.github.io/Font-Awesome/icons/" target="_blank">http://fortawesome.github.io/Font-Awesome/icons/</a></li>
  21. <li>Editor.md logo icon font emoji</li>
  22. </ul>
  23. </header>
  24. <div id="test-editormd">
  25. <textarea style="display:none;">### Emoji 表情 :smiley:
  26. [TOC]
  27. ### Emoji
  28. Emoji cheat sheet for Campfire and GitHub.
  29. [http://www.emoji-cheat-sheet.com/](http://www.emoji-cheat-sheet.com/)
  30. **Usage:**
  31. :emoji-name:
  32. **Examples:**
  33. :heart: :smiley: :+1: :-1: :black_large_square: :waxing_gibbous_moon: :moon: :crescent_moon:
  34. ### Twitter Emoji (Twemoji)
  35. **Usage:**
  36. :tw-xxxx:
  37. **Examples:**
  38. :tw-1f504: :tw-30-20e3: :tw-31-20e3: :tw-32-20e3: :tw-33-20e3: :tw-34-20e3: :tw-35-20e3: :tw-36-20e3: :tw-37-20e3: :tw-38-20e3: :tw-39-20e3: :tw-1f51f:
  39. [http://twitter.github.io/twemoji/preview.html](http://twitter.github.io/twemoji/preview.html)
  40. ### Fortawesome icons
  41. [http://fortawesome.github.io/Font-Awesome/icons/](http://fortawesome.github.io/Font-Awesome/icons/)
  42. **Usage:**
  43. :fa-xxxx:
  44. **Examples:**
  45. :fa-wifi: :fa-twitter: :fa-google-plus: :fa-git-square: :fa-github-alt: :fa-external-link-square:
  46. ### Editor.md logos
  47. **Usage:**
  48. :editormd-logo:
  49. :editormd-logo-1x:
  50. ...
  51. :editormd-logo-8x:
  52. **Examples:**
  53. :editormd-logo: :editormd-logo-1x: :editormd-logo-2x: :editormd-logo-3x: :editormd-logo-4x: :editormd-logo-5x: :editormd-logo-6x: :editormd-logo-7x: :editormd-logo-8x:
  54. ### Mixed tests
  55. &gt; Blockquotes :star:
  56. @pandao dasfsadfasdf:fa-edit: :warning: :smiley:dsafsdfsad\:fdsfdf\:f dfdf: :fa-save::fa-star: :fa-truck:
  57. **fdfasd:smiley:dsfsdfsfd** ~~fsdfds:smiley:dfsdfsdf :fa-info:~~ @pandao
  58. :fa-weixin: :fa-qq: :fa-weibo: :fa-tencent-weibo: :fa-github: :fa-git:
  59. *dsfdfsfd:smiley:dsfsfdsfd:smiley:dsfdf*
  60. ___Emphasis :fa-gear: Italic:smiley:___ __Emphasis:smiley:__
  61. # H1 dsfdfsfd:smiley:dsfsfdsfd:smiley:dsfdf:fa-star:
  62. ## H2 dsfd:fa-star:fsfd:smiley:dsfsfdsfd:smiley:dsfdf:fa-star:
  63. ### H3 dsfdfsfd@pandao :smiley:dsfsfdsfd:smiley:dsfdf:fa-edit: fdsfsdf:fa-save:dsfsdf @pandao
  64. #### H4 dsfdfsfd@pandao :smiley:dsfsfdsfd:smiley:dsfdf:fa-edit: fdsfsdf:fa-save:dsfsdf
  65. ##### H5 dsfdfsfd:smiley:dsfsfd @pandao sfd:smiley:dsfdf:fa-edit: fdsfsdf:fa-save:dsfsdf
  66. ###### H6 dsfdfsfd:smiley:dsfsfdsfd:smiley:dsfdf:fa-edit: fdsfsdf:fa-star:dsfsdf
  67. [:smiley:](http://www.emoji-cheat-sheet.com/ "link + emoji") link + emoji
  68. - dafs@pandao sdfsdaf:smiley:dfsdfsdf
  69. - dafssdfsdaf:smiley:dfsdfsdf @pandao
  70. - dafssdfsdaf:smiley:dfsdfsdf
  71. - dafss:fa-truck:dfsdaf:smiley:dfsd @pandao fsdf
  72. - dafssd: :fa-truck:fsdaf:smiley:dfsdfsdf :fa-star:: :fa-truck:
  73. + dafssdfsdaf:smiley:dfsdfsdf @pandao
  74. + dafs@pandao s:fa-truck:dfsdaf:smiley:dfsdfsdf
  75. 1. :smiley:第一行:fa-truck:fsdaf:smiley:dfs@pandao dfsdf :fa-save:: :fa-truck:
  76. - dafssdfsdaf:smiley:dfsdfsdf @pandao
  77. - dafss:fa-truck:dfsdaf:smiley:dfsdfsdf
  78. 2. :smiley:第二行:fa-truck:fsdaf:smiley:dfsdfsdf :fa-star:: :fa-truck:
  79. 3. 第三行:fa-truck:fsdaf:smiley:dfsdfsdf :fa-save:: :fa-truck:
  80. &gt; Blockquotes @pandao
  81. &gt; dd:smiley:引用文本(Blockquotes:smiley:)fdasfad :fa-star:: dfd :fa-truck: @pandao
  82. #### Datetime test
  83. 02:21:47
  84. 2015-03-12 02:21:47
  85. ### In table
  86. |:100: First Header | Second:smiley: Header:smiley: |
  87. | ------------- | ------------- |
  88. | Content:fa-truck: Cell | :smiley:Content Cell :smiley: |
  89. | Con:fa-truck:tent Cell:bangbang: | Content Cell dfsdfsdf :fa-star: :dfdf :fa-truck: |
  90. ### Editor.md logo emoji
  91. :fa-heart:fasdfsdfsfddffd:editormd-logo: :editormd-logo: :editormd-logo-4x:
  92. dfasfasdfasdf:bangbang:
  93. This is an H1 :editormd-logo-4x: @pandao
  94. =============
  95. @pandao This :fa-save:: :fa-truck:is an H2 :100:
  96. -------------
  97. ### GFM task lists :editormd-logo-5x:
  98. - [x] :smiley: @mentions, :smiley: #refs, [links](), **formatting**, and <del>tags</del> supported :editormd-logo:;
  99. - [x] list syntax required (any unordered or ordered list supported) :editormd-logo-3x:;
  100. - [x] [ ] :smiley: this is a complete item :smiley:;
  101. - [ ] []this is an incomplete item [test link](#) :fa-star: @pandao;
  102. - [ ] [ ]this is an incomplete item;
  103. - [ ] :smiley: this is an incomplete item [test link](#);
  104. - [ ] :smiley: this is an incomplete item [test link](#);
  105. </textarea>
  106. </div>
  107. </div>
  108. <script src="js/jquery.min.js"></script>
  109. <script src="../editormd.js"></script>
  110. <script type="text/javascript">
  111. var testEditor;
  112. $(function() {
  113. // You can custom Emoji's graphics files url path
  114. editormd.emoji = {
  115. path : "http://www.emoji-cheat-sheet.com/graphics/emojis/",
  116. ext : ".png"
  117. };
  118. // Twitter Emoji (Twemoji) graphics files url path
  119. editormd.twemoji = {
  120. path : "http://twemoji.maxcdn.com/72x72/",
  121. ext : ".png"
  122. };
  123. testEditor = editormd("test-editormd", {
  124. width : "90%",
  125. height : 720,
  126. toc : true,
  127. emoji : true, // Support Github emoji, Twitter Emoji(Twemoji), fontAwesome, Editor.md logo emojis.
  128. taskList : true,
  129. path : '../lib/'
  130. });
  131. });
  132. </script>
  133. </body>
  134. </html>