From b04d7c5cb4477a4ad835b6a30edc095acf1fac83 Mon Sep 17 00:00:00 2001 From: "Patrick J. Roddy" Date: Wed, 22 May 2024 16:22:22 +0100 Subject: [PATCH 1/2] Remove `|-` --- .github/ISSUE_TEMPLATE/bug_report.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug_report.yaml index 89111ca..212e116 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yaml +++ b/.github/ISSUE_TEMPLATE/bug_report.yaml @@ -20,7 +20,7 @@ body: description: >- A minimal working example of code to reproduce the unexpected behaviour, this will render as `Python` code so no need for backticks. - value: |- + value: >- import example ... @@ -48,7 +48,7 @@ body: type: input attributes: label: Version In Use - description: |- + description: >- Can be found by ```sh python -c "import example; print(example.__version__)" @@ -59,7 +59,7 @@ body: type: textarea attributes: label: Additional Context - value: |- + value: >- - Python version: - Operating system: render: markdown From 053fac03a663adbdd94587f9cc8eecf53ebdfdb3 Mon Sep 17 00:00:00 2001 From: "Patrick J. Roddy" Date: Wed, 22 May 2024 16:25:54 +0100 Subject: [PATCH 2/2] Fix wrapping --- .github/ISSUE_TEMPLATE/bug_report.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug_report.yaml index 212e116..41918fa 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yaml +++ b/.github/ISSUE_TEMPLATE/bug_report.yaml @@ -48,7 +48,7 @@ body: type: input attributes: label: Version In Use - description: >- + description: |- Can be found by ```sh python -c "import example; print(example.__version__)" @@ -59,7 +59,7 @@ body: type: textarea attributes: label: Additional Context - value: >- + value: |- - Python version: - Operating system: render: markdown