We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68737b8 commit 6999f0aCopy full SHA for 6999f0a
airflow-core/src/airflow/ui/src/pages/Dag/Header.tsx
@@ -94,7 +94,10 @@ export const Header = ({
94
<DisplayMarkdownButton
95
header="Dag Documentation"
96
icon={<FiBookOpen />}
97
- mdContent={dag.doc_md}
+ mdContent={dag.doc_md
98
+ .split("\n")
99
+ .map((str) => str.trimStart())
100
+ .join("\n")}
101
text="Dag Docs"
102
/>
103
)}
airflow-core/src/airflow/ui/src/pages/Task/Header.tsx
@@ -30,7 +30,10 @@ export const Header = ({ task }: { readonly task: TaskResponse }) => (
30
31
header="Task Documentation"
32
33
- mdContent={task.doc_md}
+ mdContent={task.doc_md
34
35
36
37
text="Task Docs"
38
39
)
0 commit comments