hterik opened a new issue, #69116:
URL: https://github.com/apache/airflow/issues/69116

   ### Under which category would you file this issue?
   
   Airflow Core
   
   ### Apache Airflow version
   
   3.1.8
   
   ### What happened and how to reproduce it?
   
   Create a DAG containing `Param` with `description_md`, containing inline 
code blocks with **single backticks**, eg
   ```
   "project_name": Param(
               None,
               type=["null", "string"],
               title="Project name",
               description_md="The `name` attribute of the `project` tag in the 
manifest file"
   )
   ```
   Output:
   
   <img width="1397" height="1111" alt="Image" 
src="https://github.com/user-attachments/assets/e41d9d9d-2c84-4cb2-b50d-3126a5c8b543";
 />
   
   * ❌ Code identifiers always get a new paragraph insert before and after the 
code block
   * ❌ Background color is difficult to distinguish the code blocks and the 
normal text is also more difficult to read.
   * ❌ Trigger dialog is unnecessarily narrow, causing word wrap for longer 
descriptions. (not seen in my screenshot)
   * ❌ Dag Docs is not displayed in the trigger popup. The dag gocs often 
contains useful info for usage of the dag and how to trigger it.
   
   ### What you think should happen instead?
   
   I'll just refer to how it looked like in Airflow 2 since it was pretty good 
:)
   
   Example picture from 
https://airflow.apache.org/docs/apache-airflow/2.11.0/core-concepts/params.html#params-ui-tutorial
 
   
   <img width="1626" height="310" alt="Image" 
src="https://github.com/user-attachments/assets/1c6a2d8c-4c11-479c-a817-cec2c8b7dce6";
 />
   
   <img width="1601" height="164" alt="Image" 
src="https://github.com/user-attachments/assets/789f832e-31a5-4bdb-8051-84d4f5ada3f5";
 />
   
   * ✅ Code identifiers are rendered inline on the same line
   * ✅ Very clear colors
   * ✅ Allows longer lines
   * ✅ DAG Docs displayed at the top
   
   ### Operating System
   
   _No response_
   
   ### Deployment
   
   None
   
   ### Apache Airflow Provider(s)
   
   _No response_
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Official Helm Chart version
   
   Not Applicable
   
   ### Kubernetes Version
   
   _No response_
   
   ### Helm Chart configuration
   
   _No response_
   
   ### Docker Image customizations
   
   _No response_
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to