<commit_before># Local Github Markdown Preview

Use your favorite editor plus the usual edit/refresh cycle to quickly write and polish your Github markdown files.

This simple script marries [html-pipeline](https://github.com/jch/html-pipeline) with the [Listen file watcher](https://github.com/guard/listen) to provide a high-fidelity preview of Github Flavored Markdown in your local browser which automatically updates on edit.

![sample screenshot](screenshot.png "Local Github Markdown Preview output")

## Installing
* Grab the dependencies:

    ```bash
    gem install html-pipeline
    gem install listen<commit_msg>Added docs for dependency on (the correct version of) linguist<commit_after># Local Github Markdown Preview

Use your favorite editor plus the usual edit/refresh cycle to quickly write and polish your Github markdown files.

This simple script marries [html-pipeline](https://github.com/jch/html-pipeline) with the [Listen file watcher](https://github.com/guard/listen) to provide a high-fidelity preview of Github Flavored Markdown in your local browser which automatically updates on edit.

![sample screenshot](screenshot.png "Local Github Markdown Preview output")

## Installing
* Grab the dependencies:

    ```bash
    gem install html-pipeline listen github-linguist
{'fraction_non_alphanumeric': 0.0731331793687452, 'fraction_numerical': 0.0, 'mean_word_length': 5.018518518518518, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '38797', 'n_tokens_mistral': 342, 'n_tokens_neox': 335, 'n_words': 145}