Emacs fontawesome utility.
fontawesome
is available on MELPA and MELPA stable
You can install fontawesome
with the following command.
M-x package-install [RET] fontawesome [RET]
(fontawesome font-name)
Return code point of font-name
.
This function is interactive function, so you can call it by M-x fontawesome
.
M-x helm-fontawesome
Insert fontawesome font with helm interface
M-x counsel-fontawesome
Insert fontawesome font with ivy interface
(insert (propertize (fontawesome "github")
'face '(:family "FontAwesome")))
(defun insert-fontawesome ()
(interactive)
(insert (call-interactively 'fontawesome)))