Can’t format inline code on a French keyboard?

AI-generated summary

Users are discussing how to format inline code on an iPhone with a French keyboard. Salocin initially struggled to type backticks (`), as the keyboard produced accents (´) instead. Moin suggested using the composer’s preformatted text button as a workaround. Lilly speculated it might be a French keyboard issue and confirmed backticks work fine on a US English layout, also recommending the toolbar button. Salocin noted the formatting button is hidden and requires horizontal scrolling on iOS, and shared successful test code blocks. JammyDodger clarified that the French keyboard’s ‘abc’ layout produces accents, but the backtick is accessible by long-pressing the apostrophe key on the ‘123’ layout. Salocin confirmed this method works and thanked JammyDodger. The issue is resolved via keyboard workaround or toolbar button.

Hi guys,

I tried to post inline code like this your code here (this one is pasted from ask.discourse) but on iPhone when I try to get the single backticks the keyboard systematically write this one ´ even I choose the right one, as you can see below:

How do you manage to get inline code from iOS ?

Thanks

Not sure if that’s the answer you want, as I don’t have an iPhone, so I can only share my general workaround. I usually click the and use the ‘preformatted text’ button in there. If you typed something before you use it, it adds inline code; if you use it on a new line, it adds a block. You can also type first, select the text, and use the button.

i wonder if it’s the french keyboard because i’m not so sure that is the correct back tic character on your screenshot. is there a single quote/tic button when you switch to numeric? that one looks like accents, not quotation.

i have an iphone 15 pro and did this on US english keyboard

hello world

hello world

like Moin said, you can still do it via the composer toolbar button .

Thanks.

To be honest I was wondering why there wasn’t a button in the text editor to format text, in fact you have to scroll horizontally to see this + appear! At least on iOS (iPhone 17 Pro).

I suppose this editor bar is customisable?

So easy now!
.custom {
Background: #000;
}

Yes, I think those options on the ‘abc’ French keyboard are accents, so that one is the grave one.

And the backtick one is found by long-pressing on the apostrophe button in the ‘123’ keyboard screen.

Testing what you wrote

It works! Thanks @JammyDodger :folded_hands:t3: