stardoc icon indicating copy to clipboard operation
stardoc copied to clipboard

Support lists in Description column

Open lisaonduty opened this issue 5 years ago • 1 comments

We see needs for supporting bulleted or numbered lists format inside the Description cell in the table for our macro documents (would need an update of util.markdownCellFormat() function in Bazel which formats the cell so it's not possible to just update the template). Sometimes we have a list och dictionaries or strings in the table (in one row) and need to have a description of each element inside one cell. It can be quite many elements so it gives quite much text and have needs to be structured in a way so the information will be clear. We also in the Description have a need to inform about default value of a specific dictionary/list (can't be informed in the Default column since that would be just [ ]). So all in all we think that lists would help us to structure the information so it gets more readable.

lisaonduty avatar Nov 19 '20 14:11 lisaonduty

Looking at the commonmark spec, the right fix might actually just to be add a dependency on cmark and run it over the text rather than try to recreate the logic that goes into supporting ordered/unordered lists.

thomasvl avatar Dec 28 '20 17:12 thomasvl