Slide 1

Slide 1 text

6YGOQLK

Slide 2

Slide 2 text

,WCPKVQ(CVCU !

Slide 3

Slide 3 text

@JuanitoFatas

Slide 4

Slide 4 text

@JuanitoFatas

Slide 5

Slide 5 text

@JuanitoFatas

Slide 6

Slide 6 text

@JuanitoFatas

Slide 7

Slide 7 text

Jolly Good Code !winstonyw

Slide 8

Slide 8 text

No content

Slide 9

Slide 9 text

闦闇闕阒陎阇阸閥陆

Slide 10

Slide 10 text

6YKVVGT'OQLK

Slide 11

Slide 11 text

JVVRUVYGOQLKOCZEFPEQO

Slide 12

Slide 12 text

No content

Slide 13

Slide 13 text

No content

Slide 14

Slide 14 text

JVVRUIKVJWDEQOLQNN[IQQFEQFGVYGOQLK

Slide 15

Slide 15 text

6YGOQLKRCTUGňJGCTVAG[GUʼn 6YGOQLKRCTUG KOI ENCUUŅGOQLK FTCIICDNGŅHCNUG VKVNGŅJGCTVAG[GU CNVŅ UTEŅJVVRUVYGOQLKOCZEFPEQOZHFRPI

Slide 16

Slide 16 text

20)ZZZ https://twemoji.maxcdn.com/72x72/1f60d.png https://twemoji.maxcdn.com/36x36/1f60d.png https://twemoji.maxcdn.com/16x16/1f60d.png

Slide 17

Slide 17 text

58)

Slide 18

Slide 18 text

6YGOQLKRCTUGQRVKQPU Twemoji.configure do |config| config.asset_root = "https://twemoji.awesomecdn.com/" config.file_ext = ".svg" config.image_size = nil # only png need to set size config.class_name = "twemoji" config.img_attr = "style='height: 1.3em;'" end

Slide 19

Slide 19 text

#XCKNCDNGCU4CKNU*GNRGT module EmojiHelper def emojify(content, **options) return if content.blank? Twemoji.parse(h(content), options).html_safe end end

Slide 20

Slide 20 text

'4DXKGY <%= emojify "I like chocolate :heart_eyes:!”, image_size: "36x36" %>

Slide 21

Slide 21 text

$WVYGNKMG*CON %= emojify "I like chocolate :heart_eyes:!", image_size: "36x36"

Slide 22

Slide 22 text

1T*CONYKVJQWV UNKO = emojify "I like chocolate :heart_eyes:!", image_size: "36x36" 5QTT[/CVUWFC閽闻

Slide 23

Slide 23 text

*6/.2KRGNKPG JVVRUIKVJWDEQOLEJJVONRKRGNKPG

Slide 24

Slide 24 text

%QPVGPV =/CTMFQYP(KNVGT? /CTMFQYP

Slide 25

Slide 25 text

%JCKPQH(KNVGTU

Slide 26

Slide 26 text

No content

Slide 27

Slide 27 text

⬅️⬅️⬅️

Slide 28

Slide 28 text

+PVGTITCVGYKVJ*6/.2KRGNKPG module HTML class Pipeline module Twitter class EmojiFilter < HTML::Pipeline::Filter def call Twemoji.parse(doc) end end end end end

Slide 29

Slide 29 text

+PVGTITCVGYKVJ*6/.2KRGNKPG module MarkdownHelper def markdown_to_html(post, **options) pipeline = HTML::Pipeline.new [ HTML::Pipeline::SanitizationFilter, HTML::Pipeline::Twitter::EmojiFilter, HTML::Pipeline::RougeFilter, ], { gfm: true, mentions: post.mentions, post: post, **options } pipeline.call(post.body)[:output].to_s.html_safe end end

Slide 30

Slide 30 text

/C[6JG6YGOQLK $G9KVJ[QW

Slide 31

Slide 31 text

閼㖼㉦閬闇闈閵 閪闲閴闐閮閼閾閬闦闁猳

Slide 32

Slide 32 text

#UCMWUCTD 磷涹