glushchenko / fsnotes

Notes manager for macOS/iOS

Home Page:https://fsnot.es

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Emphasis which is not flanked by whitespaces doesn't work on editor view

Stauboid opened this issue · comments

Description

Emphasis such as fan*tas*tic or fan**tas**tic don't show themselves as italicized/boldened (as fan*tas*tic or fan**tas**tic), if you turn the preview off.
If your turn the preview on, then you see them correctly emphasized (as fantastic or fantastic). This latter behaviour conforms to commonmark.js dingus (https://spec.commonmark.org/dingus/?text=fan*tas*tic%0A%0Afan**tas**tic).

To Reproduce

  1. Create new file
  2. Type fan*tas*tic

Expected behavior

No response

FSNotes version

Version 6.7.0 (618)

macOS/iOS version

13.6.6

Additional context

In european languages, emphasis which aren't flanked by whitespaces are often called "intraword emphasises" and are rare cases. But in asian languages they are common (often not "intraword").