zadam / trilium

Build your personal knowledge base with Trilium Notes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add shortcut (set text to code format)

Tong-Du opened this issue · comments

Describe feature

Trilium notes is a great software, thank you for your efforts.
I want to add a shortcut to set the selected text as code format. Because in the Chinese environment, the backticks "`" will be translated into "·" by the Chinese input method. I don't want to switch the input method, when I want set the text to code format.
It would be better if the "·" could have the same effect as the backticks "`".

Additional Information

image

commented

Hi, these shortcuts are actually not configurable and built-into the CKEditor. So it would have to be changed there ...

commented

I have added a patch in my trilium-translation repo. Nriver/trilium-translation@30807f8 And it works.

I will make another release after the next official Trilium release.