<commit_before>Scalable Text
==============

A light-weight responsive text jQuery plugin inspired by [FlowType](http://simplefocus.com/flowtype/). Use it to "liquify" text on your website so that it scales relative to the width of the parent element or, optionally, any element you specify (see Options below).


Options
-------

Property    | Description
----------- | -------------
`reference` | Selector to the reference element (text will scale relative to this element's width). If this option is not provided, then the default reference element will be the parent element.


Usage
-----

```html
<body>
<h1>Responsive Heading</h1>
<p>
  <button>Responsive Button Label</button>
</p>
...
<script>
$(document).ready(function() {
  // Default options
  $('h1').scaleText();
  // Scale relative to <body> instead of <p>
  $('button').scaleText({
    reference: 'body'
  });
}
</script>
</body>
```<commit_msg>Added demo<commit_after>Scalable Text
==============

A light-weight responsive text jQuery plugin inspired by [FlowType](http://simplefocus.com/flowtype/). Use it to "liquify" text on your website so that it scales relative to the width of the parent element or, optionally, any element you specify (see Options below).


Options
-------

Property    | Description
----------- | -------------
`reference` | Selector to the reference element (text will scale relative to this element's width). If this option is not provided, then the default reference element will be the parent element.


Usage
-----

```html
<body>
<h1>Responsive Heading</h1>
<p>
  <button>Responsive Button Label</button>
</p>
...
<script>
$(document).ready(function() {
  // Default options
  $('h1').scaleText();
  // Scale relative to <body> instead of <p>
  $('button').scaleText({
    reference: 'body'
  });
}
</script>
</body>
```

[__See a demo &raquo;__](http://thdoan.github.io/scalable-text/demo.html)
{'fraction_non_alphanumeric': 0.17352320675105484, 'fraction_numerical': 0.0031645569620253164, 'mean_word_length': 3.54916067146283, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 27, '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': '4343086', 'n_tokens_mistral': 563, 'n_tokens_neox': 541, 'n_words': 205}