Skip to content

Commit 4f5db83

Browse files
committed
style: Fix format
1 parent 97b2458 commit 4f5db83

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -314,8 +314,10 @@ The HTML output accepts a Javascript object with configuration. Possible options
314314

315315
- `outputFormat`: the format of the output data: `'line-by-line'` or `'side-by-side'`, default is `'line-by-line'`
316316
- `drawFileList`: show a file list before the diff: `true` or `false`, default is `true`
317-
- `srcPrefix`: add a prefix to all source (before changes) filepaths, default is `''`. Should match the prefix used when [generating the diff](https://git-scm.com/docs/git-diff#Documentation/git-diff.txt---src-prefixltprefixgt).
318-
- `dstPrefix`: add a prefix to all destination (after changes) filepaths, default is `''`. Should match the prefix used when [generating the diff](https://git-scm.com/docs/git-diff#Documentation/git-diff.txt---dst-prefixltprefixgt)
317+
- `srcPrefix`: add a prefix to all source (before changes) filepaths, default is `''`. Should match the prefix used when
318+
[generating the diff](https://git-scm.com/docs/git-diff#Documentation/git-diff.txt---src-prefixltprefixgt).
319+
- `dstPrefix`: add a prefix to all destination (after changes) filepaths, default is `''`. Should match the prefix used
320+
when [generating the diff](https://git-scm.com/docs/git-diff#Documentation/git-diff.txt---dst-prefixltprefixgt)
319321
- `diffMaxChanges`: number of changed lines after which a file diff is deemed as too big and not displayed, default is
320322
`undefined`
321323
- `diffMaxLineLength`: number of characters in a diff line after which a file diff is deemed as too big and not
@@ -333,8 +335,9 @@ The HTML output accepts a Javascript object with configuration. Possible options
333335
`2500`
334336
- `maxLineSizeInBlockForComparison`: maximum number os characters of the bigger line in a block to apply comparison,
335337
default is `200`
336-
- `compiledTemplates`: object ([Hogan.js](https://github.com/twitter/hogan.js/) template values) with previously compiled templates to replace parts of the html, default is `{}`.
337-
For example: `{ "tag-file-changed": Hogan.compile("<span class="d2h-tag d2h-changed d2h-changed-tag">MODIFIED</span>") }`
338+
- `compiledTemplates`: object ([Hogan.js](https://github.com/twitter/hogan.js/) template values) with previously
339+
compiled templates to replace parts of the html, default is `{}`. For example:
340+
`{ "tag-file-changed": Hogan.compile("<span class="d2h-tag d2h-changed d2h-changed-tag">MODIFIED</span>") }`
338341
- `rawTemplates`: object (string values) with raw not compiled templates to replace parts of the html, default is `{}`.
339342
For example: `{ "tag-file-changed": "<span class="d2h-tag d2h-changed d2h-changed-tag">MODIFIED</span>" }`
340343
> For more information regarding the possible templates look into

0 commit comments

Comments
 (0)