<commit_before># Accepted Formats
sweet-render is meant to be as flexible as possible, and take whatever format you give it.

### Template literal backticks
(ES6+ only) Use the template literal (backtick) to create a multiline string.

```javascript
const input = `
<h1> Hello World
<ul>
  <li> This is a list item!
`
```

### Arrays of strings
```javascript
var input = [
    "<h1> Hello World",
    "<ul>",
    "  <li> This is a list item!"
];
```

### JSON
```json
{
    "input": [
        "<h3> Hello World",
        "<ul>",
        "  <li> This is a list item!"
    ]
}
```

### Strings
Concatenate multiple strings together, with a "\n" at the end of each line.

```Javascript
var input = "" +
"<h1> Hello World\n" +
"<ul>\n" +
"  <li> This is a list item!\n"
```

Great, you know your format options. Now time to use it

[NEXT: USAGE >>>>](Usage.md)<commit_msg>Update Formats.md<commit_after># Accepted Formats
sweet-render is meant to be as flexible as possible, and take whatever format you give it.

### Template literal backticks
(ES6+ only) Use the template literal (backtick) to create a multiline string.

```javascript
const input = `
<h1> Hello World
<ul>
  <li> This is a list item!
`
```

### Arrays of strings
```javascript
var input = [
    "<h1> Hello World",
    "<ul>",
    "  <li> This is a list item!"
];
```

### JSON
```json
{
    "input": [
        "<h3> Hello World",
        "<ul>",
        "  <li> This is a list item!"
    ]
}
```

### Strings
Concatenate multiple strings together, with a "\n" at the end of each line.

```Javascript
var input = "" +
"<h1> Hello World\n" +
"<ul>\n" +
"  <li> This is a list item!\n"
```

# Next Step

Great, you know your input options. Now time to use it

[NEXT: USAGE >>>>](Usage.md)
{'fraction_non_alphanumeric': 0.1598173515981735, 'fraction_numerical': 0.005707762557077625, 'mean_word_length': 3.124705882352941, 'pattern_counts': {'":': 2, '<': 27, '<?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': '6166678', 'n_tokens_mistral': 624, 'n_tokens_neox': 608, 'n_words': 236}