I’m writing a block comment over a function and wo...
# getting-started
s
I’m writing a block comment over a function and would like to use the nice formatting we get inside IntelliJ. I got a table right now which looks something like this
Copy code
* | name | required | description | default value | example |
 * | :--- | :--- | :--- | :--- | :--- |
 * | name | ✅ | desc | ❌ | example |
It renders as I would expect, with the items left-aligned and everything, but everything is way too close to each other. Is there a way in this formatter to make it look like an actual table? Preferably keep some dividers vertically and horizontally across the items, but if not at least some way to force more space between the items.
a
you can use padStart (or padEnd) to align the values
s
I’m in the context of writing a block comment. How would I access such functions from in there? I don’t believe that is possible.
a
sorry, I missed that
s
No problem 😊