haiwen / seafile-user-manual

Manual for Seafile client
http://freeplant.gitbooks.io/seafile-user-manual/content/
Apache License 2.0
60 stars 50 forks source link

Move text out of command blocks #63

Closed i-ky closed 2 years ago

i-ky commented 2 years ago

Markdown renderers usually provide a button to copy blocks of code. This simplifies copy-pasting commands into terminal. Unfortunately, some code blocks contain text and when copied as they are produce error like:

$ For Ubuntu 20.04

Command 'For' not found, did you mean:

  command 'tor' from deb tor (0.4.6.10-1)
  command 'vor' from deb vor (0.5.8-1)
  command 'oor' from deb openoverlayrouter (1.3.0+ds1-3)
  command 'sor' from deb pccts (1.33MR33-6.1)

Try: sudo apt install <deb name>

Moving text out of code blocks should improve user experience and streamline copy-pasting.

freeplant commented 2 years ago

Thanks!