r/ObsidianMD • u/XxTriviumxX • 2d ago
help inserting code block with ctrl + backtick doesn't work anymore..
Hey! I used to be able to create code blocks with ctrl + backtick.
I cannot do that anymore. When i try to set it via the gui, it gives me ctrl + ' instead of a backtick.
If i set it in the hotkeys.json file, it doesnt work either:
"editor:insert-codeblock": [
{
"modifiers": [
"Mod"
],
"key": "`"
}
]
}
Does anyone have a trick to pull it off?
update: i just figured something.. it works in english US, but not on french canadian. in order to do a triple tick, we have to press the key on the left of the enter key 6 times.
so it records the key as ' and not as a backtick, even if it's a back tick.
our backticks are for accents like these: è. this is the reason we have to press 6 times.
I was using ctrl + backtick a few months ago to save time..
View all comments
Show parent comment
1
u/Moureaux-Msyvette 14h ago
looks like OP updated the post and its a french canadian keyboard layout issue with dead keys, so the sandbox vault probably wont change anything here