If I call the following code in a GitHub action:
summary
.addHeading("Links", 2)
.addTable([
[{ data: 'Site', header: true }, { data: 'Url', header: true }],
["Google", "[google.com](https://google.com)"]
]
).write();
I would expect it to make a table like:
Links
| Site | Url |
|---|---|
| google.com |
Instead, the url field does not get rendered as a link, and, instead of being google.com, it is [google.com](https://google.com).
It ends up looking something like this:
Links
| Site | Url |
|---|---|
[google.com](https://google.com) |
Is there a way to render the links inside the table?
Found the answer in the comment by @jonrsharpe.
By converting my code into an html
atag, it renders properly: