Ask Your Question
0

How to enter code in a post here so it looks structured?

asked 2017-05-11 21:58:51 +0200

inJesus gravatar image

The symbol 101010 or Ctrl K are not working here.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2017-05-11 23:37:23 +0200

librebel gravatar image

updated 2017-05-12 02:22:51 +0200

Hello @inJesus, to format a part of your answer or comment as code, do this:

1) Select the text that you want to format as code,
2) Press the small button "101" above ( 5th button from the left )

(Edited: removed possibly offensive word)

edit flag offensive delete link more

Comments

Where shall I drag it? When I drag it isn't it selected already?

inJesus gravatar imageinJesus ( 2017-05-12 00:45:13 +0200 )edit

Don't drag it anywhere - just use your mouse to highlight it. That is what librebel means by drag.

robleyd gravatar imagerobleyd ( 2017-05-12 01:39:34 +0200 )edit

Thank you.

Thus I paste here, select it and push the button:

No command 'code' found, did you mean:
 Command 'cdde' from package 'cdde' (universe)
 Command 'node' from package 'nodejs-legacy' (universe)
 Command 'tcode' from package 'emboss' (universe)
 Command 'ode' from package 'plotutils' (universe)
 Command 'cde' from package 'cde' (universe)
 Command 'cobe' from package 'python-cobe' (universe)
code: command not found

Seems to work.

inJesus gravatar imageinJesus ( 2017-05-12 10:26:49 +0200 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2017-05-11 21:58:51 +0200

Seen: 61 times

Last updated: May 12 '17