Skip to content

Commit

Permalink
feat: show all notes
Browse files Browse the repository at this point in the history
  • Loading branch information
andylolz committed Jun 8, 2024
1 parent 75494a2 commit 78546bb
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions output/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Proposed [Twitter (X) community notes](https://x.com/i/communitynotes/download-d
<tr>
<th>Note created</th>
<th>Tweet</th>
<th>Note</th>
<th>Note(s)</th>
<th>Reason for note</th>
<th>Tweet language</th>
<th>Tweet status</th>
Expand Down Expand Up @@ -99,7 +99,11 @@ Proposed [Twitter (X) community notes](https://x.com/i/communitynotes/download-d
{
data: 'notes',
render: function (data, type, row, meta) {
return data[0]['summary'];
var output = data[0]['summary'];
for (let i = 1; i < data.length; i++) {
output = output + '<br><hr>' + data[i]['summary'];
}
return output;
}
},
{
Expand Down

0 comments on commit 78546bb

Please sign in to comment.