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.
-
5wow, this is such a hidden featurenonopolarity– nonopolarity2012-05-25 17:56:47 +00:00Commented May 25, 2012 at 17:56
-
1@動靜能量 to be fair, outside of SE, how many times do you use backticks in everyday text?user149432– user1494322012-05-25 17:57:53 +00:00Commented May 25, 2012 at 17:57
-
6I don't use any other websites beside SE... haha... almostnonopolarity– nonopolarity2012-05-25 18:06:10 +00:00Commented May 25, 2012 at 18:06
-
1I use it when writing documentation for my code on my iPad.teewuane– teewuane2017-07-26 07:12:54 +00:00Commented Jul 26, 2017 at 7:12
-
1@user149432, Typing passwordsPacerier– Pacerier2018-05-02 11:26:55 +00:00Commented May 2, 2018 at 11:26
-
1Slack uses them as well.Tolga Ozses– Tolga Ozses2019-03-16 05:08:03 +00:00Commented Mar 16, 2019 at 5:08
-
Thanks for this! It works for the UK keyboard as well.tafchad– tafchad2019-04-23 09:19:54 +00:00Commented Apr 23, 2019 at 9:19
-
Use it with slack on my iPhoneJujhar Singh– Jujhar Singh2020-07-08 04:39:52 +00:00Commented Jul 8, 2020 at 4:39
-
Thanks! Really helped me. I use it to edit Github markdown pages with code block pasted in. Using iPad Pro.Jennifer Yoon– Jennifer Yoon2020-07-22 06:25:43 +00:00Commented 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 spacesnonopolarity– nonopolarity2012-05-25 18:08:41 +00:00Commented May 25, 2012 at 18:08
-
Right, I forgot about that part.Dennis– Dennis2012-05-25 18:11:34 +00:00Commented May 25, 2012 at 18:11
-
11This also only works for regular posts. You can't use the buttons on comments...2012-05-25 18:44:33 +00:00Commented 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 :-)DarkDust– DarkDust2010-10-17 12:43:09 +00:00Commented 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.
Surfaceandbacktick