<commit_before># Specdown

## JavaScript

The JavaScript implementation of Specdown.

### Methods

#### specdown.markup.live(markdownId, markupId, previewId)

Automatically specdown.markup.all the value of the element with ID markdownId and place it into the elements with IDs markupId and previewId on initiation and when the value of the element with ID markdownId changes. markupId and previewId are optional.

#### specdown.markdown.live(markupId, markdownId, previewId)

Automatically specdown.markdown.all the value of the element with ID markupId and place it into the elements with IDs markdownId and previewId on initiation and when the value of the element with ID markupId changes. markdownId and previewId are optional.
<commit_msg>Add all methods to javascript README<commit_after># Specdown

## JavaScript

The JavaScript implementation of Specdown.

### Methods

#### specdown.markup.all(markdown)

Translate all Specdown notation in the markdown string and return the HTML markup as a string.

#### specdown.markup.live(markdownId, markupId, previewId)

Automatically specdown.markup.all the value of the element with ID markdownId and place it into the elements with IDs markupId and previewId on initiation and when the value of the element with ID markdownId changes. markupId and previewId are optional.

#### specdown.markdown.all(markup)

Translate all HTML markup in the markup string and return the Specdown markdown as a string.

#### specdown.markdown.live(markupId, markdownId, previewId)

Automatically specdown.markdown.all the value of the element with ID markupId and place it into the elements with IDs markdownId and previewId on initiation and when the value of the element with ID markupId changes. markdownId and previewId are optional.

{'fraction_non_alphanumeric': 0.05301748448956571, 'fraction_numerical': 0.0, 'mean_word_length': 5.2027972027972025, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4512594', 'n_tokens_mistral': 480, 'n_tokens_neox': 446, 'n_words': 225}