question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Editor: Backticks using German keyboard doesn't trigger code formatting

See original GitHub issue

Issue Summary

When using a german keyboard layout backticks do not trigger the markdown code expansions.

To Reproduce

  1. Switch keyboard layout to German
  2. Attempt to use the backtick key to format text as per markdown (working demo)

Technical details:

  • Ghost Version: 2.0.3
  • Node Version: 8.11.4
  • Browser/OS: Chrome Version 68.0.3440.106 (Official Build) (64-bit), macOS 10.13.6 (17G65)
  • Database: MySQL 5.7.23

First up: the new editor is totally awesome! 🎉 really great work. I am currently in the process of implementing a RTE of sorts myself and now I have yours as a clear goal to aim to. Great work!

As described above, the only thing missing (for now) is inline code formatting. Currently it is cumbersome to write a paragraph, see that I need code formatting, cut, /m, choosing markdown, pasting, jumping back to my position and add the backticks.

I have searched the issue tracker, but looking for code has quite a few false positives so sorry if I missed a previous issue.

Keep doing your great work. 💪

PS: this issue is not about something fancy like highlighting in inline code, just the <code>..</code> tags.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

4reactions
kevinansfieldcommented, Aug 27, 2018

@apfelbox this is definitely related to the German keyboard layout, I can reproduce when I switch my mac to that. I’ve updated the issue title and description accordingly

1reaction
apfelboxcommented, Aug 27, 2018

Hmm, that doesn’t seem to work for me:

reproduce

I have no errors in the console. I have however a German keyboard layout, and in this layout you have to hit space after typing `, as to indicate, that it shouldn’t be placed upon an a (à) or something similiar. Doesn’t look like this in your typing, that’s why I am mentioning it.

Funny thing though: if I copy the markdown code and just paste it in a regular paragraph, the code is picked up correctly.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to get a standalone backtick on German keyboard in ...
Here comes the problem: in Visual Studio Code ctrl + backtick is a keybinding for toggling the internal terminal. If I remove this...
Read more >
Problematic keyboard shortcuts on german keyboard layout
Format as code: [Ctrl]+[backtick] does not work. I suggest [Ctrl]+[Shift]+[´] instead, as [Shift]+[´] produces the backtick, to be consistent with the ...
Read more >
[TW5] backticks for inline code - very bad usability on German ...
I have to type 9 keys on my keyboard to get 3 simple backticks. :-( So, is there any way to change this...
Read more >
Monospace markdown auto-formatting on non-English ...
Entering `bar` on such a keyboard by typing Shift + the "accent" key (left of backspace), followed by space, to create the backtick...
Read more >
Why keyboard shortcuts don't work on non-US layouts and ...
This may make sense to do with some of the more annoying key combinations, e.g. the German layout requires pressing AltGr+7 for '{'....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found