Sha256: ad70c960cb34ad263125ddc687b9ce5c1cd1529d9a867f91243258645aa47cf4
Contents?: true
Size: 824 Bytes
Versions: 31
Compression:
Stored size: 824 Bytes
Contents
# -*- coding: utf-8 -*- # Japanese resource of highlight.rb # def highlight_conf_label; 'ハイライト'; end def highlight_conf_html <<-HTML <h3 class="subtitle">ハイライトの色設定</h3> <p>ジャンプした先のサブタイトルを<span style="color: #{h @conf['highlight.color']}; background: #{h @conf['highlight.background']}">サンプル</span>のようにハイライトします。</p> <table> <tr> <th>ハイライトの文字色</th> <td><input name="highlight.color" value="#{h @conf['highlight.color']}"></td> </tr> <tr> <th>ハイライトの背景色</th> <td><input name="highlight.background" value="#{h @conf['highlight.background']}"></td> </tr> </table> HTML end # Local Variables: # mode: ruby # indent-tabs-mode: t # tab-width: 3 # ruby-indent-level: 3 # End:
Version data entries
31 entries across 30 versions & 1 rubygems