<commit_before>#require 'kramdown'

module Jekyll
  class APITable < Liquid::Block
    def initialize(tag_name, markup, tokens)
      @identifier = markup

      super
    end

    def render(context)
      output = super
      output = <<HTML
<table>
  <tbody>
    <tr>
      <th colspan="2">JSON Parameter</th>
      <th>Type</th>
      <th>Required</th>
      <th>Limitations</th>
      <th class="details-header">Details</th>
    </tr>
    #{output}
  </tbody>
</table>
HTML
      #html = Kramdown::Document.new(output).to_html
      return Liquid::Template.parse(output).render context
    end
  end
end

Liquid::Template.register_tag('apitable', Jekyll::APITable)
<commit_msg>changed tag name<commit_after>#require 'kramdown'

module Jekyll
  class APITable < Liquid::Block
    def initialize(tag_name, markup, tokens)
      @identifier = markup

      super
    end

    def render(context)
      output = super
      output = <<HTML
<table>
  <tbody>
    <tr>
      <th colspan="2">JSON Parameter</th>
      <th>Type</th>
      <th>Required</th>
      <th>Limitations</th>
      <th class="details-header">Details</th>
    </tr>
    #{output}
  </tbody>
</table>
HTML
      #html = Kramdown::Document.new(output).to_html
      return Liquid::Template.parse(output).render context
    end
  end
end

Liquid::Template.register_tag('api_table', Jekyll::APITable)

{'fraction_non_alphanumeric': 0.1388888888888889, 'fraction_numerical': 0.0014619883040935672, 'mean_word_length': 2.9452449567723344, 'pattern_counts': {'":': 0, '<': 41, '<?xml version=': 0, '>': 35, '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': '4203386', 'n_tokens_mistral': 476, 'n_tokens_neox': 459, 'n_words': 96}