Hello! When I do something like this:
${{a = "b", c = "d"}}
The lua table gets formatted as a markdown table as expected. However, using tostring({a = "b", c = "d"})
gives me {a = b, c = d}
instead. This is expected.
My question is: Is there a built-in function (or plans for one) like toMarkdownString(luaObj)
which would give me the string version of the markdown table that I received in ${{a = "b", c = "d"}}
? Something like:
|a|c|
|-|-|
|b|d|
Instead of:
{a = b, c = d}
Thank you in advance!