You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
combine these into a single multi-item list, rather than multiple single-item lists
use a checklist or tasklist instead of a regular bullet list
If the PRs are combined in a single list, we won't be able to just append a new PR to the end, but we will need to add the PR link before the closing tag (<!-- /gh-pr-number -->). In addition, the opening tag lists the PR number, so that will need to be updated too -- unless we remove the number from the tag, since it's already included in the list.
Using tasklists is probably better than checklists, and for that, the generated source should look like:
(there should be no space between ``` and [tasklist], I added it here otherwise the output breaks).
Since tasklists support a title (e.g. ### Linked PRs), there is no need to repeat PR: before each PR number. (Note that tasklists are a beta feature enabled for the python org, and don't work for other orgs (yet).)
As I do not have access to any repo/org with the tasklist beta feature enabled, I was only able to test the generated markdown but I was not able to test how it looks after rendering. (This PR generates markdown exactly same as the markdown you provided in the Issue body)
This is a follow-up of:
Currently the code generated when multiple PRs are linked to an issue looks like:
And the output looks like:

It would be better to:
If the PRs are combined in a single list, we won't be able to just append a new PR to the end, but we will need to add the PR link before the closing tag (
<!-- /gh-pr-number -->
). In addition, the opening tag lists the PR number, so that will need to be updated too -- unless we remove the number from the tag, since it's already included in the list.Using tasklists is probably better than checklists, and for that, the generated source should look like:
(there should be no space between
```
and[tasklist]
, I added it here otherwise the output breaks).Since tasklists support a title (e.g.
### Linked PRs
), there is no need to repeatPR:
before each PR number. (Note that tasklists are a beta feature enabled for thepython
org, and don't work for other orgs (yet).)(cc @saadmk11)
The text was updated successfully, but these errors were encountered: