<commit_before><link rel="import" href="../bower_components/polymer/polymer.html">
<link rel="import" href="../bower_components/iron-location/iron-location.html">

<dom-module id="catalog-element-readme">
  <!-- TODO: Support for external stylesheets is deprecated in favor of style modules. -->
  <link rel="import" type="css" href="../bower_components/github-markdown-css/github-markdown.css">
  <template>
    <style>
      :host {
        display: block;
      }

      /** Readme.md override */
      .markdown-body .anchor {
        margin-left: 0;
        padding-right: 0;
      }

      article.markdown-body {
        font-family: var(--theme-font);
        line-height: 24px;
        font-size: 16px;
        color: inherit;
      }

      :host[shorten] article.markdown-body > :not(:nth-child(-n+4)) {
        display: none;
      }

      #expand-button {
        width: 100%;
        padding: 12px 0;
        margin: 16px 0;
        border: 1px solid #ededed;
        border-radius: 4px;
        display: flex;
        justify-content: center;
        cursor: pointer;
        color: var(--theme-blue-small);<commit_msg>Fixed CSS selector syntax for :host<commit_after><link rel="import" href="../bower_components/polymer/polymer.html">
<link rel="import" href="../bower_components/iron-location/iron-location.html">

<dom-module id="catalog-element-readme">
  <!-- TODO: Support for external stylesheets is deprecated in favor of style modules. -->
  <link rel="import" type="css" href="../bower_components/github-markdown-css/github-markdown.css">
  <template>
    <style>
      :host {
        display: block;
      }

      /** Readme.md override */
      .markdown-body .anchor {
        margin-left: 0;
        padding-right: 0;
      }

      article.markdown-body {
        font-family: var(--theme-font);
        line-height: 24px;
        font-size: 16px;
        color: inherit;
      }

      :host([shorten]) article.markdown-body > :not(:nth-child(-n+4)) {
        display: none;
      }

      #expand-button {
        width: 100%;
        padding: 12px 0;
        margin: 16px 0;
        border: 1px solid #ededed;
        border-radius: 4px;
        display: flex;
        justify-content: center;
        cursor: pointer;
        color: var(--theme-blue-small);
{'fraction_non_alphanumeric': 0.14603312990409764, 'fraction_numerical': 0.015693112467306015, 'mean_word_length': 2.1963788300835656, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 19, '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': '2541763', 'n_tokens_mistral': 753, 'n_tokens_neox': 692, 'n_words': 152}