Skip to content

Commit

Permalink
Add emoji support
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsenramon committed Dec 12, 2016
1 parent 0d6a9a4 commit 2ad1014
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 1 deletion.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ gem "jekyll"
gem "jekyll-assets"
gem "jekyll-paginate"
gem "jekyll-sitemap"
gem "jemoji"
gem "mini_magick"
gem "sass"
gem "uglifier"
9 changes: 9 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ GEM
addressable (~> 2)
ffi (1.9.14)
forwardable-extended (2.6.0)
gemoji (2.1.0)
html-pipeline (2.4.2)
activesupport (>= 2)
nokogiri (>= 1.4)
html-proofer (3.3.1)
activesupport (>= 4.2, < 6.0)
addressable (~> 2.3)
Expand Down Expand Up @@ -57,6 +61,10 @@ GEM
jekyll (~> 3.3)
jekyll-watch (1.5.0)
listen (~> 3.0, < 3.1)
jemoji (0.6.2)
gemoji (~> 2.0)
html-pipeline (~> 2.2)
jekyll (>= 3.0)
kramdown (1.13.1)
liquid (3.0.6)
listen (3.0.8)
Expand Down Expand Up @@ -101,6 +109,7 @@ DEPENDENCIES
jekyll-assets
jekyll-paginate
jekyll-sitemap
jemoji
mini_magick
sass
uglifier
Expand Down
10 changes: 9 additions & 1 deletion _assets/stylesheets/modules/_articles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@
text-align: center;
}


// Paginator
// =============================================================================

Expand Down Expand Up @@ -162,6 +161,12 @@
blockquote p {
margin-bottom: 0;
}
img.emoji {
display: inline-block;
margin-top: -4px;
margin-bottom: 0;
vertical-align: middle;
}
}

.article-comments {
Expand All @@ -186,6 +191,9 @@
}
}

// Responsive
// =============================================================================

@include breakpoint(small) {
.article-list-footer {
display: block;
Expand Down
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,5 @@ gems:
- jekyll-assets
- jekyll-paginate
- jekyll-sitemap
- jemoji
permalink: posts/:slug
4 changes: 4 additions & 0 deletions _posts/2016-10-15-chalk-sample-post-with-all-elements.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ Ordered list example:
2. Order list item 1
{% endhighlight %}

## Emoji support :star:

Emoji's can be used everywhere in :cat2: your markdown!

## Quotes

A quote looks like this:
Expand Down

0 comments on commit 2ad1014

Please sign in to comment.