-
-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[QUESTION] Why are description strings joined with double newlines? #258
Comments
Hi, @dfkki123508 thanks for your feedback. I think the Line 41 in f04c9b7
This line ensures that users can write long descriptions in multiple lines. Line 46 in f04c9b7
This line ensures that different sections (split by I admit that we didn't cover your use case. I'll try to find a better way to handle this. |
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 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: