Commit f4a90bc9f3ad4e6e9938736e3815eb84ec299af8
1 parent
130520fa
Exists in
master
and in
4 other branches
Add emoji docs to Markdown help
Showing
1 changed file
with
23 additions
and
0 deletions
Show diff stats
app/views/help/markdown.html.haml
| @@ -71,6 +71,29 @@ | @@ -71,6 +71,29 @@ | ||
| 71 | %p becomes | 71 | %p becomes |
| 72 | = markdown %Q{```ruby\nrequire 'redcarpet'\nmarkdown = Redcarpet.new("Hello World!")\nputs markdown.to_html\n```} | 72 | = markdown %Q{```ruby\nrequire 'redcarpet'\nmarkdown = Redcarpet.new("Hello World!")\nputs markdown.to_html\n```} |
| 73 | 73 | ||
| 74 | + %h4 Emoji | ||
| 75 | + | ||
| 76 | +.row | ||
| 77 | + .span8 | ||
| 78 | + :ruby | ||
| 79 | + puts markdown %Q{Sometimes you want to be :cool: and add some :sparkles: to your :speech_balloon:. Well we have a :gift: for you: | ||
| 80 | + | ||
| 81 | + :exclamation: You can use emoji anywhere GFM is supported. :sunglasses: | ||
| 82 | + | ||
| 83 | + You can use it to point out a :bug: or warn about :monkey:patches. And if someone improves your really :snail: code, send them a :bouquet: or some :candy:. People will :heart: you for that. | ||
| 84 | + | ||
| 85 | + If you are :new: to this, don't be :fearful:. You can easily join the emoji :circus_tent:. All you need to do is to :book: up on the supported codes. | ||
| 86 | + } | ||
| 87 | + | ||
| 88 | + .span4 | ||
| 89 | + .alert.alert-info | ||
| 90 | + %p | ||
| 91 | + Consult the | ||
| 92 | + %strong= link_to "Emoji Cheat Sheet", "http://www.emoji-cheat-sheet.com/" | ||
| 93 | + for a list of all supported emoji codes. | ||
| 94 | + | ||
| 95 | +.row | ||
| 96 | + .span8 | ||
| 74 | %h4 Special GitLab references | 97 | %h4 Special GitLab references |
| 75 | 98 | ||
| 76 | %p | 99 | %p |