Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 158 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

When on my Android device the keyboard does not have backticks (or I don't know how to access them... - I am on a german layout btw), therefore I am unable to add code parts in comments et. al.

Is there another way to mark inline code? I do think it improves readability a whole lot so it should be done wherever possible.

share|improve this question
there should always be a way to enter those characters... usually there is more than one page of symbols... some times a long press will also display additional symbols. – Lix Mar 22 '12 at 8:54
@Lix, yes there are two pages with special characters, yet no backtick. Also, I have searched every (no kidding) sub-menu of the standard letters. Still no backtick. – m90 Mar 22 '12 at 8:56
I have a Galaxy S running ICS and I checked out the german layouts - I can see the backtick character on the second page of symbols... For me its the page with the square [] and curly {} braces... – Lix Mar 22 '12 at 9:01
@Lix I'm on HTC Sense and they have a different keyboard (XT9) than Samsung unfortunately. No backticks for me.... But thanks a lot for looking! – m90 Mar 22 '12 at 9:03
May I suggest using slideIT? Or installing any other alternative keyboard - they can sometimes be much better than the stock keyboards... – Lix Mar 22 '12 at 9:06
@Lix you may :) Thanks for pointing me to this very simple, yet very fitting solution! – m90 Mar 22 '12 at 9:08
Heh, I considered asking this question a few days ago... my HTC Desire doesn't have the ` either. – Matt Mar 22 '12 at 9:23
I would recommend Hacker's Keyboard, which gives you the standard 5 row keyboard including the top numbers row including the backtick key – Yi Jiang Mar 22 '12 at 10:09
Incidentally, an alternate keyboard program provided my with a backtick, as well, though I actually installed it for another issue. – Andrew Barber Mar 22 '12 at 10:51
@YiJ - I use this one always when I'm in an SSH session - its got EVERYTHING! :P – Lix Mar 22 '12 at 11:19
Wow, seriously? A keyboard without a backtick? Even the iPhone has a backtick, and it doesn't even have a real keyboard. – Cody Gray Mar 22 '12 at 18:25
up vote 2 down vote accepted

No, the "new comment" text box is plain without any editor attached so no other way to mark inline code in a comment.

My 2 cents:

  1. You can mark it italic or bold using the * character to distinguish it from rest of the comment.
  2. You can post the text in the New Answer editor, mark the part you want to be code and click the Code Sample icon () of the editor - backticks will be automagically added to the selected text. Then copy this back to the comment textbox and post it.
share|improve this answer

EDIT: Sorry I misread the question. OP is referring to comments, and not posts. <code> will only work on Posts.

I believe as well as using backticks you can also use:

<code>code here..</code>

As shown in the markdown syntax page

Therefore your android device should allow you to use inline code.

share|improve this answer
+1 - however it is terribly verbose :) – Lix Mar 22 '12 at 10:04
<code>alert('This is a test')</code> – m90 Mar 22 '12 at 10:04
@m90 :P But yea - not in the comments :P Install a new keyboard already! – Lix Mar 22 '12 at 10:05
Doesn't seem to work unfortunately.... I'm with my brand new keyboard btw right now so Yay for that – m90 Mar 22 '12 at 10:05
@m90 Sorry I didn't realise your question was just referring to comments. – Curt Mar 22 '12 at 10:07

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .