Bug Report: Incorrect Formatting of Verilog Nonblocking Assignment Symbol in Code Blocks

Dear Obsidian Support Team,

I hope this message finds you wel :smiley:l. I am writing to report a bug that I have encountered while using the Obsidian app.

Bug Description: When using code blocks to display Verilog code, I noticed that the nonblocking assignment symbol “<=” is incorrectly formatted as a less than or equal to symbol “≤”. This formatting change is not consistent with Verilog coding conventions and can lead to confusion for users familiar with Verilog syntax.

Steps to Reproduce:

  1. Open Obsidian and create a new note.
  2. Insert a code block and enter Verilog code containing nonblocking assignment statements using the “<=” symbol.
  3. Preview or render the note to observe the formatting of the Verilog code within the code block.

Expected Behavior: The Verilog code within the code block should display the nonblocking assignment symbol “<=” accurately and consistently.

Actual Behavior: The nonblocking assignment symbol “<=” is displayed as a less than or equal to symbol “≤” within the code block.

Screenshot:
Correctly.
image

Uncorrectly.

Please note that this issue affects the readability and usability of Verilog code within Obsidian, especially for users working extensively with Verilog designs.

I kindly request that your development team investigate and address this issue in a future update of the Obsidian app. If you require any further information or clarification regarding this bug report, please feel free to contact me.

Thank you for your attention to this matter. :+1:

1 Like

The default font -since a few months ago- for Windows 11, is Cascadia Code. This one has ligatures.

If you want to use a Cascadia without ligatures, check Cascadia Mono (reference).

Additionally, you could use the default font from Visual Studio Code, Consolas reference. This one does not have ligatures.

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.