You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For me it causes problems when trying to render markdown, e.g.
@validate()deffun():
"""summary | One | Two | Three | |-----|-----|-------| | a | b | c | | One | Two | Three | |-----|-----|-------| | a | b | c | """
results in the spec as:
"description": "| One | Two | Three | |-----|-----|-------| | a | b | c |\n\n| One | Two | Three |\n\n|-----|-----|-------|\n\n| a | b | c |"
I did not find a possiblity to render single newlines. Can you help me?
PS: I am referring to this line:
Thanks for the quick answer! I think a workaround is probably to use html tags, but have to try it out :)
HTML should work. BTW, for this kind of Markdown flavor table, I guess I can only provide a <code><\code> HTML tag. I guess swagger/redoc won't render it to the real HTML table.
So, maybe using the HTML code directly will be better for your use case?
For me it causes problems when trying to render markdown, e.g.
results in the spec as:
"description": "| One | Two | Three | |-----|-----|-------| | a | b | c |\n\n| One | Two | Three |\n\n|-----|-----|-------|\n\n| a | b | c |"
I did not find a possiblity to render single newlines. Can you help me?
PS: I am referring to this line:
spectree/spectree/utils.py
Line 46 in f04c9b7
Thanks!
The text was updated successfully, but these errors were encountered: