This issue is related to #448, which modified fontification in GFM mode such that underscores (_
) within tokens did not fontify while asterisks (*
) did, i.e. such that
were fontified or not as suggested by their text. Further, asterisks and underscores at edges of words should continue to function as expected, such that each of
are emphasized.
Actual BehaviorThe new detection regex seems to be missing the latter two cases, i.e. *a*
and _b_
are not getting emphasized. Worse, the leading asterisk or underscore is available to match a later trailing such symbol, such that the entire string
is emphasized, when only the first and last token should be.
Software Versionsmarkdown-mode version 2.5-dev (installed via MELPA)
GNU Emacs 26.3 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.14) of 2020-03-26, modified by Debian
Ubuntu 20.04.1 LTS
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4