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,686 of 196,721
Downloads: 2,821

Daily

Ranking: 36,893 of 196,694
Downloads: 1

Depended by

RankDownloadsName

Depends on

RankDownloadsName
71,426,725,582activesupport
141,294,745,029minitest
161,260,225,676nokogiri
46785,326,044railties
48774,672,429actionview
114443,695,758actiontext
378138,554,845liquid

Owners

#GravatarHandle
1iconanquinn