# slacken ## Description This gem translates a html source into a markup text for Slack. ## Examples Sample input source and output texts are in `sample/`. ``` > require 'slacken' > puts Slacken.translate(File.read('sample/source.html')) # *Slacken* # # This gem translates a html source into *a markup text for Slack*. # uses this gem to decorate notification messages to Slack :trollface:. # # *Examples* # # *List* # # 1. Item 1 # 2. _Item 2 (italic)_ # • [x] Checked # • [ ] Unchecked # 3. *Item 3 (bold)* # • Nested Item 1 # • Nested Item 2 # # *Citation* # # > Qiita is a technical information sharing site for programmers. # > Kobito is an application for technical information recording. # # *Source Code* # # ```class World # def hello # puts 'Hello, world!' # end # end # ``` # # *Image* # # This is a Qiita logo. # # ----------- # # ``` ## Install ``` $ gem install slacken ``` ## License MIT