Code Blocks on an iPad Mini 2


(cpradio) #1

Okay, so first off, I don’t own an iPad, nor do I have one readily available for testing, hence my silly question.

How does one create code blocks from an iPad? I’ve been told be a user attempting to do such, that there are no backticks on the iPad virtual keyboard, and entering 4 spaces before each line of code gets truncated, so there are no longer 4 spaces…

What options does this person have?


(John_Betong) #2

Actually the problem I have is with an iPad Mini 2, I don’t know if the problem exists on all iPads and iPad Minis.


(Tom Newsom) #3

You can tap and hold the ’ button to get a `
Not convenient for typing 4 of them, but it should work!


(John_Betong) #4

@Tom_Newsom

Try again

<?php
echo 'I hope this works';

echo 'I hope this works';

Yippeeee, what a carry on. When the ’ is tapped and held, three options appear and one of the options is a backtick.

Many thanks.


(Jeff Atwood) #5

You do now, though! Tap and hold. :wink:


(cpradio) #6

Ha, I completely forgot about this topic, and yes, you are indeed correct, I do now. :slightly_smiling: (and am enjoying it)