Liking cljdoc? Tell your friends :D

emoji.core

Core functions

Core functions
raw docstring

->aliasclj

(->alias unicode)

Convert a unicode string to emoji shortcode/alias.

(->alias "👍")
;; => "thumbsup"
Convert a `unicode` string to emoji shortcode/alias.

```clojure
(->alias "👍")
;; => "thumbsup"
```
sourceraw docstring

->emojiclj

(->emoji alias)

Convert a alias string to emoji unicode.

(->emoji "thumbsup")
;; => "👍"
Convert a `alias` string to emoji unicode.

```clojure
(->emoji "thumbsup")
;; => "👍"
```
sourceraw docstring

demojifyclj

(demojify s)

Replace emoji unicodes in a string with shortcodes/aliases.

(emojify "Clojure is awesome 👍")
;; => "Clojure is awesome :thumbsup:"
Replace emoji unicodes in a string with shortcodes/aliases.

```clojure
(emojify "Clojure is awesome 👍")
;; => "Clojure is awesome :thumbsup:"
```
sourceraw docstring

emojifyclj

(emojify s)

Replace emoji aliases in a string with unicode codes.

(emojify "Clojure is awesome :thumbsup:")
;; => "Clojure is awesome 👍"
Replace emoji aliases in a string with unicode codes.

```clojure
(emojify "Clojure is awesome :thumbsup:")
;; => "Clojure is awesome 👍"
```
sourceraw docstring

emojify-allclj

(emojify-all s)

Replace every word in a sentence to emoji if it is an alias.

Be aware. This function might make you very annoying.

(emojify-all "Clojure pizza fire thumbsup smile")
;; => "Clojure 🍕 🔥 👍 😄"
Replace every word in a sentence to emoji if it is an alias.

Be aware. This function might make you very annoying.
```clojure
(emojify-all "Clojure pizza fire thumbsup smile")
;; => "Clojure 🍕 🔥 👍 😄"
```
sourceraw docstring

emojisclj

Keywordized emoji data from the resources/emojis.json

Keywordized emoji data from the `resources/emojis.json`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close