Adding a two-line entry in a list

  • Question
  • Updated 3 years ago
I am trying to make a two-line entry in a list. I like the alternate coloring on the lists, but I have two lines that should go together: "for name in names:", " print names". Is there a way to do this?
Photo of japhyrJ

japhyr

  • 2 Posts
  • 0 Reply Likes

Posted 3 years ago

  • 2
Photo of Memory Leaked

Memory Leaked

  • 16 Posts
  • 1 Reply Like
I don't believe that feature exist. I also would like such a \n feature.
Photo of japhyrJ

japhyr

  • 2 Posts
  • 0 Reply Likes
I am pretty sure it's possible. Take a look at the Screen section of Dave Child's "Linux Command Line Cheat Sheet". Those look like two-line elements of a list.
Photo of Memory Leaked

Memory Leaked

  • 16 Posts
  • 1 Reply Like
Added the question over on that Linux spread sheet. Not exactly what I was looking for, but it could do what was wanted anyway.

http://www.cheatography.com/davechild...
Photo of Dave Child

Dave Child, Official Rep

  • 113 Posts
  • 4 Reply Likes
There's no way to do this at the moment, but it's a good idea. I had a look at a couple of options this morning, and had a little luck, so this will be possible by the end of the week.
Photo of Dave Child

Dave Child, Official Rep

  • 113 Posts
  • 4 Reply Likes
By the way, the "screen shortcuts" box is a "Question and Answer" type box, which inserts the answer under the question.
Photo of wowmottyW

wowmotty

  • 2 Posts
  • 0 Reply Likes
Any update on this? I would like to be able to add html, like
. But I could live with using \n or something like that.