Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ahosgood committed Oct 19, 2023
1 parent cb824df commit b584926
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .metalsmith/markdownRenderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,10 @@ markdownRenderer.paragraph = function (text) {
markdownRenderer.table = function (head, body) {
const formatRows = (row) =>
row
.replace(/<tr>\s*<td>(.*)<\/td>/g, '<th class="tna-table__header">$1</th>')
.replace(
/<tr>\s*<td>(.*)<\/td>/g,
'<th class="tna-table__header">$1</th>',
)
.replace(/<tr>/g, '<tr class="tna-table__row">')
.replace(/<th>/g, '<th class="tna-table__header">')
.replace(/<td>/g, '<td class="tna-table__cell">');
Expand Down
2 changes: 1 addition & 1 deletion lib/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ table {

// border-radius: .25rem;

@include colour.colour-border("keyline-dark", 1px, solid);
@include colour.colour-border("keyline-dark", 1px, solid);

// box-shadow: 0.0625rem 0.125rem 0.375rem rgb(0 0 0/0.25);
}

0 comments on commit b584926

Please sign in to comment.