<commit_before><%= render 'metas', book_component: @book_component %>

<p id="internal-links"><%= link_to "<span class='glyphicon glyphicon-list'></span> table of contents".html_safe, "#table-of-contents", class: 'btn btn-default' %></p>
<h1><%= @book_component.name %></h1>

<p><%= raw @book_component.body %></p>

<%= render 'books/table_of_contents', book: @book_component.book %><commit_msg>Added Chapter heading to book component show view.<commit_after><%= render 'metas', book_component: @book_component %>

<p id="internal-links"><%= link_to "<span class='glyphicon glyphicon-list'></span> table of contents".html_safe, "#table-of-contents", class: 'btn btn-default' %></p>

<h1>
  <%= content_tag :span, "Chapter #{@book_component.chapter_number}<br />".html_safe, id: 'chapter-number' if @book_component.chapter? %>
  <%= @book_component.name %>
</h1>

<p><%= raw @book_component.body %></p>

<%= render 'books/table_of_contents', book: @book_component.book %>
{'fraction_non_alphanumeric': 0.20515463917525772, 'fraction_numerical': 0.004123711340206186, 'mean_word_length': 6.469230769230769, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 31, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6632043', 'n_tokens_mistral': 353, 'n_tokens_neox': 327, 'n_words': 76}