points icon indicating copy to clipboard operation
points copied to clipboard

4-space indent selected text in description

Open arielj opened this issue 3 years ago • 0 comments

https://ombulabs.atlassian.net/browse/DT-263

Branch/Commit:

Main branch

Describe the feature:

As a developer I select some lines from the description And then I click a button And I see the selected lines indented with 4 leading white spaces so it's formatted as a block

Problem:

Currently, if we want to add code, we have two methods:

  • triple backticks around the code (which is not always reliable and adds a color to the code)
  • 4-spaces indentation (which is pretty annoying to adjust the indentation once the code is in the desription box or you have to update the indentation before copying the code)

I will abide by the code of conduct

arielj avatar Oct 07 '21 20:10 arielj