fastruby / fastruby/points

4-space indent selected text in description

Open
#88 0 comments 0 reactions 0 assignees View on GitHub
enhancement Feature Request Nice to Have (Low Priority) ux
Dominant language
Ruby
Stars
42
Forks
17
PR merge metrics
No merged PRs in 30d

Description

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](CODE_OF_CONDUCT.md)**

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.