Replace GitHubEmoji with Emoji

This commit is contained in:
squidfunk 2017-01-09 22:25:15 +01:00
parent cb9a563a78
commit 7fd950872c
7 changed files with 15 additions and 13 deletions

View File

@ -24,7 +24,8 @@ markdown_extensions:
- pymdownx.betterem(smart_enable=all) - pymdownx.betterem(smart_enable=all)
- pymdownx.caret - pymdownx.caret
- pymdownx.critic - pymdownx.critic
- pymdownx.githubemoji - pymdownx.emoji:
emoji_generator: !!python/name:pymdownx.emoji.to_svg
- pymdownx.inlinehilite - pymdownx.inlinehilite
- pymdownx.magiclink - pymdownx.magiclink
- pymdownx.mark - pymdownx.mark
@ -55,21 +56,20 @@ start and end tokens. Read the documentation for [usage notes][3].
[2]: https://facelessuser.github.io/pymdown-extensions/extensions/betterem/ [2]: https://facelessuser.github.io/pymdown-extensions/extensions/betterem/
[3]: https://facelessuser.github.io/pymdown-extensions/usage_notes/ [3]: https://facelessuser.github.io/pymdown-extensions/usage_notes/
#### GitHub Emoji #### Emoji
[GitHub Emoji][4] adds the ability to insert emojis, which does not only [Emoji][4] adds the ability to insert a :shit:-load of emojis that we use in
include the :octocat: emojis, but also a :shit:-load of emojis that we use in
our daily lives. See the [Emoji Cheat Sheet][5] for a list of all available our daily lives. See the [Emoji Cheat Sheet][5] for a list of all available
emojis. Happy scrolling :tada: emojis. Happy scrolling :tada:
[4]: https://facelessuser.github.io/pymdown-extensions/extensions/githubemoji/ [4]: https://facelessuser.github.io/pymdown-extensions/extensions/emoji/
[5]: http://www.webpagefx.com/tools/emoji-cheat-sheet/ [5]: http://www.webpagefx.com/tools/emoji-cheat-sheet/
#### MagicLink #### MagicLink
[MagicLink][6] detects links in Markdown and auto-generates the necessary [MagicLink][6] detects links in Markdown and auto-generates the necessary
markup, so no special syntax is required. It auto-links HTTP(S) and FTP links, markup, so no special syntax is required. It auto-links `http[s]://` and
as well as references to email addresses: `ftp://` links, as well as references to email addresses:
[6]: https://facelessuser.github.io/pymdown-extensions/extensions/magiclink/ [6]: https://facelessuser.github.io/pymdown-extensions/extensions/magiclink/

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -31,13 +31,13 @@
{% endif %} {% endif %}
{% endblock %} {% endblock %}
{% block libs %} {% block libs %}
<script src="{{ base_url }}/assets/javascripts/modernizr-dadbf8711d.js"></script> <script src="{{ base_url }}/assets/javascripts/modernizr-9f4ef1018a.js"></script>
{% endblock %} {% endblock %}
{% block fonts %} {% block fonts %}
{% include "partials/fonts.html" %} {% include "partials/fonts.html" %}
{% endblock %} {% endblock %}
{% block styles %} {% block styles %}
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-6abc478b22.css"> <link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-4e0b154e92.css">
{% if config.extra.palette %} {% if config.extra.palette %}
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-02ce7adcc2.palette.css"> <link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-02ce7adcc2.palette.css">
{% endif %} {% endif %}

View File

@ -61,7 +61,8 @@ markdown_extensions:
- pymdownx.betterem(smart_enable=all) - pymdownx.betterem(smart_enable=all)
- pymdownx.caret - pymdownx.caret
- pymdownx.critic - pymdownx.critic
- pymdownx.githubemoji - pymdownx.emoji:
emoji_generator: !!python/name:pymdownx.emoji.to_svg
- pymdownx.inlinehilite - pymdownx.inlinehilite
- pymdownx.magiclink - pymdownx.magiclink
- pymdownx.mark - pymdownx.mark

View File

@ -28,7 +28,8 @@
.md-typeset { .md-typeset {
// Correct alignment of emojis // Correct alignment of emojis
.emoji { .emojione {
width: 2rem;
vertical-align: text-top; vertical-align: text-top;
} }
} }