Skip to content

Commit cc6de35

Browse files
Frontend-jaewonjaychang99
authored andcommitted
feat(Markdown): format openapi diffs with markdown
1 parent e5edb17 commit cc6de35

10 files changed

+9069
-9
lines changed

badges/coverage.svg

+1-1
Loading

debug/markdown-stylesheet.css

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
* {
2+
all: revert;
3+
4+
table {
5+
border-spacing: 0 !important;
6+
border-collapse: collapse !important;
7+
border-color: inherit !important;
8+
display: block !important;
9+
width: max-content !important;
10+
max-width: 100% !important;
11+
overflow: auto !important;
12+
}
13+
14+
tbody,
15+
td,
16+
tfoot,
17+
th,
18+
thead,
19+
tr {
20+
border-color: inherit !important;
21+
border-style: solid !important;
22+
border-width: 1px !important;
23+
/* fix width of column depending on the longest cell */
24+
padding: 0.5em 1em !important;
25+
border-spacing: 0 !important;
26+
border-collapse: collapse !important;
27+
}
28+
29+
th {
30+
font-weight: bold !important;
31+
color: black;
32+
background-color: white;
33+
}
34+
}

dist/index.js

+8,602
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/licenses.txt

+164
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

+79-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,13 @@
7070
]
7171
},
7272
"dependencies": {
73-
"@actions/core": "^1.10.1"
73+
"@actions/core": "^1.10.1",
74+
"markdown-it": "^14.1.0"
7475
},
7576
"devDependencies": {
7677
"@jest/globals": "^29.7.0",
7778
"@types/jest": "^29.5.12",
79+
"@types/markdown-it": "^14.1.1",
7880
"@types/node": "^20.12.12",
7981
"@typescript-eslint/eslint-plugin": "^7.9.0",
8082
"@typescript-eslint/parser": "^7.9.0",

0 commit comments

Comments
 (0)