-
Notifications
You must be signed in to change notification settings - Fork 14.2k
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
Unable to use nested lists in DAG markdown documentation #16263
Comments
Thanks for opening your first issue here! Be sure to follow the issue template! |
#14564 I suspect this pull request may be the reason since it appears to strip spaces and tabs from every line of the markdown. A minor issue, but as a lover of nested lists, would be great to get them working again 😄 |
This also affects code blocks, which is probably more important than nested lists, but it shows that markdown docstrings are quite limited. textwrap.dedent could well be part of the solution here. |
I will try and reproduce this. |
The cause is the same as #16138 (comment). Instead of |
|
I think so (mentioned in the linked comment), but someone needs to actually try. |
I tried, it works well. The linked PR fixed nested lists, but does not fix triple-tick code blocks because it’s a non-universal extension syntax. See my comments in the PR for details. |
Apache Airflow version: 2.0.2
What happened:
Tried to use the following markdown as a
doc_md
string passed to a DAGIt was rendered in the web UI as a single list with no nesting or indentation.
What you expected to happen:
I expected the list to display as a nested list with visible indentation.
How to reproduce it:
Try and pass a DAG a
doc_md
string of the above nested list.I think the bug will affect any markdown that relies on meaningful indentation (tabs or spaces)
The text was updated successfully, but these errors were encountered: