What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 130 Stack Exchange communities.

There are times when I only can use iPad to access SO, and the back tick ` is needed to quote the literals... but it seems on iPad, there is no way to enter a back tick on the keyboard? Can it be somehow entered?

share|improve this question
    
I never owned an iPad. Do you browse the mobile or the normal version of the site? –  Dennis May 25 '12 at 17:49
    
@Dennis iPad defaults to the normal version of the site. –  user149432 May 25 '12 at 17:53
    
Not a fully fledged answer as I don't own one of these things, but there are probably many useful keyboard tweaks on Cydia. At a glance, BTstack Keyboard and iKeywi look to be very useful. –  James Haigh Aug 20 '12 at 13:11
    
BTW most of these workarounds also work on my Surface, whose onscreen keyboard does not include the backtick. The {} button is probably the most useful. I'm adding this comment to help those who might search for Surface and backtick –  Kate Gregory Feb 5 at 17:47

4 Answers 4

up vote 35 down vote accepted

Assuming you're using the US keyboard layout, tap the .?123 key, then tap and hold the ' key: a popup will appear where you can tap the ` key. If I remember correctly, this only works in iOS 4 and later: if you're still running iPhone OS 3.2, you're out of luck and you really should just upgrade already.

share|improve this answer
1  
wow, this is such a hidden feature –  動靜能量 May 25 '12 at 17:56
    
@動靜能量 to be fair, outside of SE, how many times do you use backticks in everyday text? –  user149432 May 25 '12 at 17:57
1  
I don't use any other websites beside SE... haha... almost –  動靜能量 May 25 '12 at 18:06

You can surround the text you want to inline monospace with <code></code>.

This works for questions and answers, but not for comments -- right now, I don't think there's a workaround for comments.

share|improve this answer
    
Good to know that this works for answers, that might be enough... At least it's better than nothing :-) –  DarkDust Oct 17 '10 at 12:43

@MarkTrapp said that iPad defaults to the non-mobile version of Stack Overflow, so you don't really need to press the `.

Just click the Code Sample icon over the textarea, and it will insert two backticks. If you select the literals first, it will automatically wrap them in backticks.

Note that the Code Sample button insert four spaces rather than backticks if triggered on an empty or entire line.

share|improve this answer
    
oh good quick way. seems like you have to type something first, and then click the "Code" icon button... if nothing is typed beforehand on the line, then it will indent by 4 spaces –  動靜能量 May 25 '12 at 18:08
    
Right, I forgot about that part. –  Dennis May 25 '12 at 18:11
7  
This also only works for regular posts. You can't use the buttons on comments... –  animuson May 25 '12 at 18:44

Comments

In a comment box, click help at the bottom right, select and copy the `code` from there and paste it, replacing the word code with your actual code.

Answers

Similarly, in an answer box, you can click the ? at the top right and under Code, you can select and copy $ and then paste in the textbox, editing $ out to be your actual code.

<code>your code here</code> also works in an answer box.

share|improve this answer

You must log in to answer this question.

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