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 capitalizing some code blocks

See original GitHub issue

hey @nhn another quick question! I can’t reproduce this on my computer (I have Ubuntu 16.04 and Firefox) but some of my testers are reporting that the markdown renderer mysteriously capitalizes some code block letters. For example, take a look at the -l rendered below: image

It of course doesn’t come through in the raw text submit via the interface, but the rendering. Any ideas for what we can look for / test?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:14 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
katgitcommented, Dec 12, 2019

But if I make it Italic then I get the same weird looking l that looks like L: bug3

1reaction
katgitcommented, Dec 12, 2019

I also just copied the output from the window on the right and pasted it into a text editor and I got lowercase l. From all these experiments I conclude that the issue is related to the font that is being used to display the output. In this particular font the lowercase l looks like L.

I looked at the element font family and it is coded as:

font-family: Consolas, Courier, “Apple SD 산돌고딕 Neo”, -apple-system, “Lucida Grande”, “Apple SD Gothic Neo”, “맑은 고딕”, “Malgun Gothic”, “Segoe UI”, “돋움”, dotum, sans-serif; border: 0;

If I paste the content of the “right window” text to the Word it says that “Consolas” font is used, but if I select consolas myself and write a text in the word it looks like this: bug2

Read more comments on GitHub >

github_iconTop Results From Across the Web

visual studio code - Make selected block of text uppercase
Select the text you want capitalized · Open View->Command Palette (or Shift + Command + P ) · Start typing "Transform to uppercase"...
Read more >
Write and edit source code | GoLand Documentation - JetBrains
Select code according to capitalization. In the Settings/Preferences dialog ( Ctrl+Alt+S ), go to Editor | General | Smart Keys.
Read more >
Change text case in the editor - Visual Studio - Microsoft Learn
To convert text to all upper case, choose Edit > Advanced > Make Uppercase or press Ctrl+Shift+U. To convert text to all lower...
Read more >
Defining blocks - Microsoft MakeCode
This section describes how to annotate your MakeCode APIs to expose them in the Block Editor. Try out some blocks live in the...
Read more >
Code Block – WordPress.com Support
Each block has its own block-specific controls that allow you to manipulate the block right in the editor. The Code block has some...
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