The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 

How to copy/paste and preserve the format from README.md to the pull request description?

Jason Harrison
Contributor
March 10, 2021

I spent a bunch of time entering the changes for a new version of our library, and want to paste it into the pull request description for the PR from dev to master.

When I copy (control-c) (from vscode on ubuntu 18.04 LTS) and then paste (control-v) to the description field (firefox, cloud bitbucket) I get a "code formatted" result:

ksnip_20210310-110814.png

And when I use shift-control-v for pasted unformatted or "same format" I get extra line breaks, and no native formatting. Note that the list items are all 1, 1, 1, 1...:

ksnip_20210310-110904.png

Is there a better way to "copy this text and paste it with reasonable formatting" into the pull request?

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Jason Harrison
Contributor
March 10, 2021

yes! with vscode,

  • click on the tab of the README.md, and select "Open Preview"
  • select the formatted text you want to copy and copy it to the clipboard
  • paste the text into the Pull Request Description

ksnip_20210310-115706.png

TAGS
AUG Leaders

Atlassian Community Events