r/ObsidianMD • u/XxTriviumxX • 11h 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..
1
u/roam_roamed 11h ago
Works for me if I configure it in the Hotkeys settings. If you have it set up there and it's not working, try it in the sandbox vault. A plugin might be interfering.