Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Line numbers for code blocks #914

Open
sepsol opened this issue Dec 6, 2024 · 0 comments · May be fixed by RocketChat/Rocket.Chat#34844
Open

Line numbers for code blocks #914

sepsol opened this issue Dec 6, 2024 · 0 comments · May be fixed by RocketChat/Rocket.Chat#34844

Comments

@sepsol
Copy link

sepsol commented Dec 6, 2024

Is your feature request related to a problem? Please describe.
It is really hard to refer to parts of code blocks in discussions when they don't have line numbers.

Describe the solution you'd like
An option to allow users to enable line numbers in code blocks they send.

Describe alternatives you've considered
Slack already had this feature. In Slack, if you press Ctrl + Shift + Enter you can have code blocks (files) that have line numbers.

Additional context
How it works in Slack:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant