Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign upBug: It seems the `Args` section does not support code blocks very well #11
Comments
This comment has been minimized.
This comment has been minimized.
|
Python Markdown only supports ( Can you try indenting the code one (markdown, i.e. 4-space) extra level? If it doesn't work, it's probably a duplicate of #10, likely introduced with the fix to #5. |
This comment has been minimized.
This comment has been minimized.
|
I tried to un-indent the code blocks, and it worked, but it went out of the scope of that argument. Indenting with extra spaces does not work. |
This comment has been minimized.
This comment has been minimized.
|
Fenced code blocks remain an issue Python-Markdown/markdown#53. With indented code block (per Markdown syntax, indented extra 4 spaces), your above example should now that #10 is fixed render as expected. |
wq2012 commentedJan 24, 2019
•
edited
Expected Behavior
I was expecting to be able to use code blocks for
Argssection.For example, this is my docstring:
Actual Behavior
Here is what has been rendered:

It did not insert new lines for the multiline code block.
Steps to Reproduce
N/A
Additional info
0.5.1