trilium icon indicating copy to clipboard operation
trilium copied to clipboard

(Bug report)symbol != will convert to ≠ automatically in code block.

Open Madao98 opened this issue 3 years ago • 2 comments

Trilium Version

0.51.2

What operating system are you using?

Windows

What is your setup?

Local (no sync)

Operating System Version

windows10 version 21h1

Description

I am a newer to markdown language. I cannot write != in code block. It will automatically convert != to ≠. -> is the same as above. It will automatically convert -> to →. I do not know how to convert back. It has no problem in text window.

Madao98 avatar May 14 '22 03:05 Madao98

Hi, this is "font ligature" - != is not actually "converted" to , it's just displayed as such. If you copy&paste it elsewhere, it will still be copied as !=.

If you don't like this, you can change the font in the options, e.g. "Courier New" is a monospace font without ligatures.

image

zadam avatar May 14 '22 11:05 zadam

Hi, this is "font ligature" - != is not actually "converted" to , it's just displayed as such. If you copy&paste it elsewhere, it will still be copied as !=.

If you don't like this, you can change the font in the options, e.g. "Courier New" is a monospace font without ligatures.

image

It works. Thanks so mush. (o゜▽゜)o☆

Madao98 avatar May 14 '22 12:05 Madao98