Format content using #hashtags
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples
src
tests
.gitignore
README.md
elm-package.json

README.md

#lofi in Elm

Parse #lofi content. Also available in JavaScript and Elixir

Basic usage

primaryButton = "Click me #button #primary"
primaryButtonLofi = Lofi.parseElement primaryButton
dangerButtonLofi = Lofi.parseElement "Click me #button #primary #alternative: danger"
buttonMentioningTitleLofi = Lofi.parseElement "@title #button #primary"
welcomeMessageLofi = Lofi.parseElement "Hello @user.firstName #primary"