-
Notifications
You must be signed in to change notification settings - Fork 184
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
DocString Formatting for Description #124
Comments
Did you ever find a solution to this? I am very interested... |
No, not yet. :( |
I did come across these threads... http://www.django-rest-framework.org/topics/documenting-your-api/ supposedly if you have markdown installed you can use markdown in the docstrings of your api... |
Hello! Any solution to this? I'm stuck at the same point :( |
Turns out the version available in pip repos is older and still does not support description markdown formatting. To enable it you have to download the latest version from git and install it manually. Note that django-rest-framework-docs/requirements.txt contains: If you have different versions of Django or djangorestframework you can remove them. |
@mytrhan, I tried ur method, didn't work. |
How do I format the description of an endpoint for when DRF Docs displays it? I've tried several things and nothing works. For example, I'd like to add line breaks. Is there a way to do this?
Thanks
The text was updated successfully, but these errors were encountered: