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: 170,347 of 197,744
Downloads: 2,969

Daily

Ranking: 35,210 of 197,724
Downloads: 4

Depended by

RankDownloadsName

Depends on

RankDownloadsName
61,458,386,728activesupport
141,324,561,847minitest
161,283,701,651nokogiri
47804,253,154railties
48794,136,856actionview
114460,717,095actiontext
377142,231,888liquid

Owners

#GravatarHandle
1iconanquinn