zadam / trilium

Build your personal knowledge base with Trilium Notes
GNU Affero General Public License v3.0
27.37k stars 1.92k forks source link

(Bug report) Import .md files, math inside $$ or $ shown wrong. #2394

Open Liu-Wenzheng opened 2 years ago

Liu-Wenzheng commented 2 years ago

Preflight Checklist

Trilium Version

0.48.0-beta

What operating system are you using?

macOS

What is your setup?

Local (no sync)

Operating System Version

macOS Catalina 10.15.7

Expected Behavior

I tried to import .md files created by Typora to Trilium Notes, should like below:

Screen Shot 2021-11-29 at 12 58 01 PM

Actual Behavior

However, it shows like

Screen Shot 2021-11-29 at 12 58 35 PM

Additional Information

Any options to avoid it?

zadam commented 2 years ago

Markdown doesn't have standardized syntax for math, so the importing library doesn't understand this and imports it as a text.

Math needs to be probably imported manually.