Skip to content

Commit

Permalink
Merge 95e26c1 into 11346cd
Browse files Browse the repository at this point in the history
  • Loading branch information
anikethsaha committed Jun 17, 2020
2 parents 11346cd + 95e26c1 commit 77e2c33
Show file tree
Hide file tree
Showing 3 changed files with 355 additions and 129 deletions.
35 changes: 35 additions & 0 deletions readme.md
Expand Up @@ -95,6 +95,41 @@ Default:
Default: false
Description: *Add a `lang` attribute in elements, eg: `{ lang: 'fr' }`*

- **commentFormat**
Type: `Boolean`
Default: true
Description: Formats the comments. It does the following
- If there are multi line comments then there would be
leading and trailing newline like this

```html
// Input

<!-- multiline
comments-->

// Output

<!--
multiline
comments
-->
```
- If there is a single line comment, it would make it to a single line with the comment starting and ending
notation in same line

Input
```
<!--
singleline comments
-->
```

Output

`<!-- singleline comments -->`


### `mini`
Type: `Object`
Default:
Expand Down

0 comments on commit 77e2c33

Please sign in to comment.