<commit_before><!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8"> 
<%
# This code from Kramdown's default template.
extend ::Kramdown::Utils::Html
title = 'Hierogloss'
h = @converter.root.children.find {|c| c.type == :header}
if h
  collector = lambda {|c| c.children.collect {|cc| cc.type == :text ? escape_html(cc.value, :text) : collector.call(cc)}.join('')}
  title = collector.call(h)
end
%>
    <title><%= title %></title>
    <meta name="generator" content="hierogloss kramdown <%= ::Kramdown::VERSION %>" />

    <style type="text/css">
      .gloss td { padding-right: 18px; }
      .gloss td.hieroglyphs { font-size: 24px; }
      .gloss .transliteration {
        font-family: "Aegyptus", "Gardiner", serif;
        font-size: 18pt;
      }
      .gloss {
        margin-left: 18px;
      }
      p.gloss {
        margin-top: 0;
      }
      table.gloss a:link, table.gloss a:visited {
        color: black;
        text-decoration: none;
      }
      table.gloss a:hover {
        text-decoration: underline;
      }
    </style>
  </head>
  <body>

<%= @body %>

  </body><commit_msg>Add some basic webfonts support<commit_after><!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8"> 
<%
# This code from Kramdown's default template.
extend ::Kramdown::Utils::Html
title = 'Hierogloss'
h = @converter.root.children.find {|c| c.type == :header}
if h
  collector = lambda {|c| c.children.collect {|cc| cc.type == :text ? escape_html(cc.value, :text) : collector.call(cc)}.join('')}
  title = collector.call(h)
end
%>
    <title><%= title %></title>
    <meta name="generator" content="hierogloss kramdown <%= ::Kramdown::VERSION %>" />

    <style type="text/css">
      @font-face {
	font-family: 'WebGardiner';
	src: url('fonts/Gardiner.eot');
	src: local('☺'), url('fonts/Gardiner.woff') format('woff'), url('fonts/Gardiner.ttf') format('truetype'), url('fonts/Gardiner.svg') format('svg');
	font-weight: normal;
	font-style: normal;
      }

      .gloss td { padding-right: 18px; }
      .gloss td.hieroglyphs { font-size: 24px; }
      .gloss .transliteration {
        font-family: "WebGardiner", "Aegyptus", "Gardiner", serif;
        font-size: 18pt;
      }
      .gloss {
        margin-left: 18px;
        page-break-inside: avoid;
      }
      p.gloss {
        margin-top: 0;
      }
      table.gloss a:link, table.gloss a:visited {
        color: black;
        text-decoration: none;
      }
      table.gloss a:hover {
        text-decoration: underline;
      }
      p { page-break-inside: avoid; }
    </style>
  </head>
  <body>

<%= @body %>

  </body>
{'fraction_non_alphanumeric': 0.17524980784012298, 'fraction_numerical': 0.007686395080707148, 'mean_word_length': 2.6661971830985913, 'pattern_counts': {'":': 0, '<': 35, '<?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': '5062668', 'n_tokens_mistral': 1006, 'n_tokens_neox': 950, 'n_words': 196}