microsoft / vscode-markdown-tm-grammar

VS Code built-in markdown extension's Textmate grammar
MIT License
64 stars 49 forks source link

Markdown ~ characters cannot be escaped by \ character #104

Closed D3vil0p3r closed 2 years ago

D3vil0p3r commented 2 years ago

Issue Type: Bug

Hello, I'm writing a document in Markdown but when I try to use two ~, it puts a central lines over the characters until it reaches the second ~. I tried to use \ for escaping them but does not work. An example in a .md file could be:

LinkedIn has ~N daily users, which means ~X logins

The result is: image

If I try to escape by \ I get: image

Please, could you add the escape by \ character also on tilde char?

Thank you in advance.

VS Code version: Code 1.65.0 (b5205cc8eb4fbaa726835538cd82372cc0222d43, 2022-03-02T11:12:08.962Z) OS version: Windows_NT x64 10.0.22000 Restricted Mode: No

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz (12 x 2208)| |GPU Status|2d_canvas: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled| |Load (avg)|undefined| |Memory (System)|15.84GB (5.97GB free)| |Process Argv|--crash-reporter-id 3a726389-9a84-4604-b6f7-b9d9a527d617| |Screen Reader|no| |VM|0%|
Extensions (17) Extension|Author (truncated)|Version ---|---|--- doxdocgen|csc|1.4.0 better-cpp-syntax|jef|1.15.13 python|ms-|2022.2.1924087327 vscode-pylance|ms-|2022.3.0 jupyter|ms-|2022.2.1020642448 jupyter-keymap|ms-|1.0.0 jupyter-renderers|ms-|1.0.6 remote-containers|ms-|0.224.2 remote-ssh|ms-|0.76.1 remote-wsl|ms-|0.64.2 cmake-tools|ms-|1.9.2 cpptools|ms-|1.8.4 cpptools-extension-pack|ms-|1.1.0 powershell|ms-|2021.12.0 vscode-hexdump|sle|1.8.1 cmake|twx|0.0.17 highlight-bad-chars|wen|0.0.6 (1 theme extensions excluded)
A/B Experiments ``` vsliv368cf:30146710 vsreu685:30147344 python383:30185418 vspor879:30202332 vspor708:30202333 vspor363:30204092 pythonvspyl392:30443607 pythontb:30283811 pythonvspyt551cf:30345471 pythonptprofiler:30281270 vshan820:30294714 vstes263:30335439 vscorecescf:30445987 pythondataviewer:30285071 vscod805:30301674 pythonvspyt200:30340761 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 vsaa593cf:30376535 vsc1dst:30438360 pythonvs932:30410667 wslgetstarted:30433507 vsclayoutctrt:30448491 dsvsc008:30440022 pythonvsnew555cf:30442237 vsbas813:30436447 vscscmwlcmt:30438805 helix:30440343 ```
mjbvz commented 2 years ago

Fixed by #117

Note that you now need two ~ to actually get a strikethrough