comparison app/views/pastes/show.html.erb @ 417:080dd141898c

Add support for explicit highlighter languages
author nanaya <me@myconan.net>
date Mon, 14 Sep 2015 14:50:35 +0900
parents 39d59ae9d9db
children a69dd2d37950
comparison
equal deleted inserted replaced
416:c4c8214fb0b2 417:080dd141898c
24 <div role="tabpanel" class="tab-pane active" id="pl"> 24 <div role="tabpanel" class="tab-pane active" id="pl">
25 <pre class="paste-show__content"><code class="js-paste-pl"><%= @paste.paste %></code></pre> 25 <pre class="paste-show__content"><code class="js-paste-pl"><%= @paste.paste %></code></pre>
26 </div> 26 </div>
27 27
28 <div role="tabpanel" class="tab-pane" id="hl"> 28 <div role="tabpanel" class="tab-pane" id="hl">
29 <pre class="paste-show__content"><code class="js-paste-hl zp-hl"></code></pre> 29 <pre class="paste-show__content"><code class="js-paste-hl zp-hl lang-<%= @paste.language %>"></code></pre>
30 </div> 30 </div>
31 31
32 <div role="tabpanel" class="tab-pane" id="md"> 32 <div role="tabpanel" class="tab-pane" id="md">
33 <div class="js-paste-md"></div> 33 <div class="js-paste-md"></div>
34 </div> 34 </div>