fix(tldr): condense tldr pages by electron271 · Pull Request #851 · allthingslinux/tux

Description

closes #842
adds backslash to prevent discord list formatting and removes not needed newlines

Guidelines

  • My code follows the style guidelines of this project (formatted with Ruff)

  • I have performed a self-review of my own code

  • I have commented my code, particularly in hard-to-understand areas

  • I have made corresponding changes to the documentation if needed

  • My changes generate no new warnings

  • I have tested this change

  • Any dependent changes have been merged and published in downstream modules

  • I have added all appropriate labels to this PR

  • I have followed all of these guidelines.

How Has This Been Tested? (if applicable)

ran /tldr test

Screenshots (if applicable)

before and after
image
image

Additional Information

Please add any other information that is important to this PR.

Summary by Sourcery

Improve formatting of tldr command output to enhance readability and compatibility with Discord.

Bug Fixes:

  • Prevent Discord list formatting by escaping leading dashes in tldr output.
  • Remove unnecessary blank lines between list items and code blocks in tldr output.