<commit_before><%= provide(:header, "Exercício") %>
<%= provide(:description, "Vizualize, edite e adicione novas questões") %>

<%= link_to "Deletar", @exercise, method: :delete,
                       class: "btn btn-primary pull-right",
                       style: "margin-left: 10px",
                       data: { confirm: "Tem certeza que deseja excluir?" } %>

<%= link_to "Editar", edit_exercise_path(@exercise),
                      class: "btn btn-primary pull-right " %>
<br></br>

<div class="box box-solid box-default">
  <div class="box-header">
    <h3 class="box-title"><%= @exercise.title %></h></h3>
  </div><!-- /.box-header -->
  <div class="box-body">
    <%= @exercise.description %>
  </div><!-- /.box-body -->
  <div class="box-footer">
    <button class="btn btn-primary pull-right">
      <i class="fa fa-plus-square-o" aria-hidden="true"></i>
      Adicionar questão
    </button>

    <b>Possui <a href="#"><%= pluralize_questions(@exercise.questions.count) %></a></b><commit_msg>Make display markdwon in exercise show view<commit_after><%= provide(:header, "Exercício") %>
<%= provide(:description, "Vizualize, edite e adicione novas questões") %>

<%= link_to "Deletar", @exercise, method: :delete,
                       class: "btn btn-primary pull-right",
                       style: "margin-left: 10px",
                       data: { confirm: "Tem certeza que deseja excluir?" } %>

<%= link_to "Editar", edit_exercise_path(@exercise),
                      class: "btn btn-primary pull-right " %>
<br></br>

<div class="box box-solid box-default">
  <div class="box-header">
    <h3 class="box-title"><%= @exercise.title %></h></h3>
  </div><!-- /.box-header -->
  <div class="box-body">
    <%= markdown(@exercise.description) %>
  </div><!-- /.box-body -->
  <div class="box-footer">
    <button class="btn btn-primary pull-right">
      <i class="fa fa-plus-square-o" aria-hidden="true"></i>
      Adicionar questão
    </button>

    <b>Possui <a href="#"><%= pluralize_questions(@exercise.questions.count) %></a></b>
{'fraction_non_alphanumeric': 0.20077594568380214, 'fraction_numerical': 0.0038797284190106693, 'mean_word_length': 2.8274582560296846, 'pattern_counts': {'":': 0, '<': 59, '<?xml version=': 0, '>': 59, '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': '3607708', 'n_tokens_mistral': 729, 'n_tokens_neox': 672, 'n_words': 149}