?? chapter.erb
字號:
<div class="top"><div class="prevnext"> <% if previous_chapter %> <a href="chapter-<%= previous_chapter.index %>.html">Previous (<%= previous_chapter.index %>. <%= previous_chapter.title %>)</a> | <% end %> <a href="index.html">Up</a> <% if next_chapter %> | <a href="chapter-<%= next_chapter.index %>.html">Next (<%= next_chapter.index %>. <%= next_chapter.title %>)</a> <% end %></div></div><h1><%= object.index %>. <%= object.title %></h1><% object.sections.each do |section| if section.title %> <h2> <a name="s<%= section.index %>"></a> <%= object.index %>.<%= section.index %>. <%= section.title %> </h2> <% end %> <div class="section"> <%= section.content.to_html %> </div><% end %><div class="bottom"><div class="prevnext"> <% if previous_chapter %> <a href="chapter-<%= previous_chapter.index %>.html">Previous (<%= previous_chapter.index %>. <%= previous_chapter.title %>)</a> | <% end %> <a href="index.html">Up</a> <% if next_chapter %> | <a href="chapter-<%= next_chapter.index %>.html">Next (<%= next_chapter.index %>. <%= next_chapter.title %>)</a> <% end %></div></div>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -