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,438 of 197,085
Downloads: 2,883

Daily

Ranking: 87,723 of 197,066
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
71,443,326,435activesupport
141,310,230,254minitest
161,272,378,399nokogiri
47794,986,186railties
48784,620,810actionview
114452,316,728actiontext
379140,492,004liquid

Owners

#GravatarHandle
1iconanquinn