Sign in Sign up
rubygems

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.

Activity

Latest release
1mo ago
Total releases
5
Cadence
~3 days
Last 12 months
5

Reach

Stars

Details

License
MIT
First release
Jul 06, 2026
Releases
Version Released
0.0.5 patch
0.0.4 patch
0.0.3 patch
0.0.2 patch
0.0.1 initial