coteditor / CotEditor

Lightweight Plain-Text Editor for macOS
https://coteditor.com
Other
6.22k stars 425 forks source link

Strikethrough not highlighting on markdown #1651

Closed cal-ellevation closed 3 weeks ago

cal-ellevation commented 3 weeks ago

Description

Highlighting not working for strikethrough when doing something like "this should be striked out". Highlighting is as if it is all just text.

To Reproduce

Type text into editor with ~~ surrounding text and see that it isn't striked out.

Expected behavior

Text would have some way to show that it should be striked out.

CotEditor version

4.8.5

macOS version

Sonoma 14.5

Additional context

No response

1024jp commented 3 weeks ago

Oops it is a kind of bugs that the current Markdown syntax doesn't highlight (= colorize) strikethrough. I've just fixed it so that the fix will be shipped with the next version, CotEditor 4.8.6. Thank you for pointing it out.

But CotEditor never actually draw strikethrough line for strikethrough markup in Markdown syntax. CotEditor is a general text editor. It colorize keywords, or specific patterns of text, but not style it as Markdown says.

cal-ellevation commented 3 weeks ago

Colorized is great!

On Sun, Jun 9, 2024 at 7:52 AM 1024jp @.***> wrote:

Oops it is a kind of bugs that the current Markdown syntax doesn't highlight (= colorize) strikethrough. I've just fixed it so that the fix will be shipped with the next version, CotEditor 4.8.6. Thank you for pointing it out.

But CotEditor never actually draw strikethrough line for strikethrough markup in Markdown syntax. CotEditor is a general text editor. It colorize keywords, or specific patterns of text, but not style it as Markdown says.

— Reply to this email directly, view it on GitHub https://github.com/coteditor/CotEditor/issues/1651#issuecomment-2156484089, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3SQZRHNKZQOC4UREKZ67DTZGQ6ZFAVCNFSM6AAAAABJAFSVFWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJWGQ4DIMBYHE . You are receiving this because you authored the thread.Message ID: @.***>