redoc icon indicating copy to clipboard operation
redoc copied to clipboard

Markdown nested list not working

Open ghost opened this issue 5 years ago • 3 comments

Hi, I've tried a lot of things but I can't manage to make nested lists with markdown being properly showed in the final html created with redoc-cli. Is this a know issue? Any advice?

ghost avatar Jun 10 '20 11:06 ghost

I'm having the same issue. Any update on this?

weskoerber avatar Mar 18 '22 00:03 weskoerber

I don't have an update on this, but I also can't replicate the problem. Do you have an example of what isn't working for you?

lornajane avatar Nov 23 '23 16:11 lornajane

A while ago I discovered the solution was to use YAML multiline strings. Before, I was using quoted strings (") instead. But I honestly forgot I commented, so I never updated my comment (apologies).


This wasn't working:

description: "
- list
    - nested list
"

This worked:

description: >
- list
    - nested list

weskoerber avatar Dec 04 '23 20:12 weskoerber