emacsorphanage / fontawesome

fontawesome utility
33 stars 6 forks source link

fontawesome melpa badge melpa stable badge

Emacs fontawesome utility.

Requirements

Installation

fontawesome is available on MELPA and MELPA stable

You can install fontawesome with the following command.

M-x package-install [RET] fontawesome [RET]

Function

(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

helm-fontawesome

M-x counsel-fontawesome

Insert fontawesome font with ivy interface

Sample

(insert (propertize (fontawesome "github")
        'face '(:family "FontAwesome")))

(defun insert-fontawesome ()
  (interactive)
  (insert (call-interactively 'fontawesome)))