domdomegg / markdown-inline-preview-vscode

📝🌈 A VS Code extension for improving the display of markdown directly in the editor
https://marketplace.visualstudio.com/items?itemName=domdomegg.markdown-inline-preview-vscode
MIT License
10 stars 2 forks source link

Add support for strikethrough, inline code, code blocks and underscore syntax variants #7

Closed Inferno214221 closed 4 months ago

Inferno214221 commented 4 months ago

Hi,

I found this project yesterday and have decided to move to VSCodium for my Markdown editing. I have made a few adjustments to the version that I will use and was wondering if you would like them upstream.

I have added support for strikethrough and inline code syntax hiding along with the underscore variants of the bold and italics syntax. Additionally, I adjusted the getTogglableSymmetricRanges function to rely on regex capture groups (the first and last of each expression) to allow for variable length ranges. I then added code block support (resolving #6).

Feel free to reject these changes of course, just thought I'd check.

Thanks (This is my first PR BTW, I hope I did it correctly.)

domdomegg commented 4 months ago

Deployed as version 1.1.0 on the Open VSX Registry and the VS Code Marketplace