Categories: None [Edit]

lexxy-variables

https://rubygems.org/gems/lexxy-variables
https://github.com/anquinn/lexxy-variables
Insert and safely resolve variables in Lexxy rich text. The gem gives you an editor button (and a `{{` prompt) for inserting variables, each stored as an Action Text attachment chip rather than literal markup. `with_variables` resolves the chips and returns plain Action Text content. Register new chip types with `register_attachment`. A :text chip resolves to an escaped string, an :html chip splices rich content in before sanitization. Liquid is optional. The default renderer is plain, injection-safe string substitution and pulls in no template engine.

Total

Ranking: 171,408 of 197,051
Downloads: 2,883

Daily

Ranking: 30,036 of 197,010
Downloads: 4

Depended by

RankDownloadsName

Depends on

RankDownloadsName
71,442,365,801activesupport
141,309,340,755minitest
161,271,730,347nokogiri
47794,391,473railties
48784,001,870actionview
114451,769,717actiontext
379140,357,724liquid

Owners

#GravatarHandle
1iconanquinn