Sha256: 65b44cb4755c083246bac948ae4c447c3f4e01c71380b98d9821573a842e2f22

Contents?: true

Size: 1.47 KB

Versions: 3

Compression:

Stored size: 1.47 KB

Contents

<h1>Slacken</h1>

<p>This gem translates a html source into <strong>a markup text for Slack</strong>.<br>
<a href="https://teams.qiita.com">Qiita:Team</a> uses this gem to decorate notification messages to Slack <img class="emoji" title=":trollface:" alt=":trollface:" src="https://cdn.qiita.com/emoji/trollface.png" height="20" width="20" align="absmiddle">.</p>

<h2>Examples</h2>

<h3>List</h3>

<ol>
<li>Item 1</li>
<li>
<em>Item 2 (italic)</em>

<ul>
<li class="task-list-item">
<input type="checkbox" class="task-list-item-checkbox" checked disabled>Checked</li>
<li class="task-list-item">
<input type="checkbox" class="task-list-item-checkbox" disabled>Unchecked</li>
</ul>
</li>
<li>
<strong>Item 3 (bold)</strong>

<ul>
<li>Nested Item 1</li>
<li>Nested Item 2</li>
</ul>
</li>
</ol>

<h3>Citation</h3>

<blockquote>
<p>Qiita is a technical information sharing site for programmers.<br>
Kobito is an application for technical information recording.</p>
</blockquote>

<h3>Source Code</h3>

<div class="code-frame" data-lang="rb"><div class="highlight"><pre><span class="k">class</span> <span class="nc">World</span>
  <span class="k">def</span> <span class="nf">hello</span>
    <span class="nb">puts</span> <span class="s1">'Hello, world!'</span>
  <span class="k">end</span>
<span class="k">end</span>
</pre></div></div>

<hr>

<h3>Image</h3>

<p>This is a Qiita logo.</p>

<p><img src="http://cdn.qiita.com/assets/siteid-reverse-1949e989f9d8b2f6fad65a57292b2b01.png" alt="Qiita logo"></p>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
slacken-0.1.6 examples/source.html
slacken-0.1.5 examples/source.html
slacken-0.1.4 examples/source.html