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?
4 Answers
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.
-
5
-
1@動靜能量 to be fair, outside of SE, how many times do you use backticks in everyday text?– user149432Commented May 25, 2012 at 17:57
-
6I don't use any other websites beside SE... haha... almost Commented May 25, 2012 at 18:06
-
1I use it when writing documentation for my code on my iPad.– teewuaneCommented Jul 26, 2017 at 7:12
-
1
-
1
-
-
-
Thanks! Really helped me. I use it to edit Github markdown pages with code block pasted in. Using iPad Pro. Commented Jul 22, 2020 at 6:25
@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.
-
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 Commented May 25, 2012 at 18:08
-
-
11This also only works for regular posts. You can't use the buttons on comments... Commented May 25, 2012 at 18:44
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.
-
1Good to know that this works for answers, that might be enough... At least it's better than nothing :-)– DarkDustCommented Oct 17, 2010 at 12:43
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.
Surface
andbacktick