Commit graph

13 commits

Author SHA1 Message Date
Pierric Cistac
f220ca11e4
move everything inside parser 2021-03-01 14:48:12 -05:00
Pierric Cistac
5915ecdaa1
feature: display message instead of diff if isTooBig is true
A default `Diff too big to be displayed` message is rendered for any file diff where `isTooBig` is `true`.

A new `diffTooBigMessage` option in render config allows to fully customize the message and receives the file index in the diff as an argument. It can be used to render a link to the raw file diff for example.
2021-02-25 14:08:18 -05:00
campersau
406be9f02a escape diff headers for html 2020-06-27 20:11:28 +02:00
Rodrigo Fernandes
dc9c866041
clean: Improve build configurations 2020-01-01 19:51:36 +00:00
Rodrigo Fernandes
4a159277a2
clean: Prepare for pre release 2019-12-22 18:47:20 +00:00
Rodrigo Fernandes
8f1208eb01
refactor: Unify line-by-line and side-by-side 2019-12-22 18:35:05 +00:00
Rodrigo Fernandes
d8e0a99070
refactor: Separate matching in line-by-line algorithm 2019-12-22 18:01:01 +00:00
Rodrigo Fernandes
a25d06a8d7
refactor: Extract matching algorithm in line-by-line diff 2019-12-22 18:00:59 +00:00
Rodrigo Fernandes
0f08c85938
refactor: Unify escaping 2019-12-22 18:00:57 +00:00
Rodrigo Fernandes
f8f5c10c57
refactor: Generators 1 2019-12-22 18:00:55 +00:00
Rodrigo Fernandes
4200bd7a3b
refactor: Move types and use enums 2019-12-22 18:00:50 +00:00
Rodrigo Fernandes
f72ee2ea46
wip: tweaks to website 2019-12-22 18:00:48 +00:00
Rodrigo Fernandes
4f607633dd
wip: Code and Tests working 2019-12-22 18:00:45 +00:00