Sha256: 97a0fbfb992e8539dd2453e8fa944d9aed355e087746ab241e013680086df749
Contents?: true
Size: 685 Bytes
Versions: 1
Compression:
Stored size: 685 Bytes
Contents
hmote ===== Minimum Operational Template. Same as [mote][mote] but it escapes HTML tag characters by default. It uses [hache][hache] to do the escaping. Usage ----- HMote escapes tag characters by default: ```ruby {{ '<img src="img.jpeg">' }} # => <img src="img.jpeg"> ``` If you want to print content without escaping, then add `>` as shown below: ```ruby {{> '<img src="img.jpeg">' }} # => <img src="img.jpeg"> ``` For more information about the usage, check the [Mote project homepage](https://github.com/soveran/mote). Installation ------------ ``` $ gem install hmote ``` [mote]: https://github.com/soveran/mote [hache]: https://github.com/frodsan/hache
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hmote-1.0.0 | README.md |