sublime-markdown-extended icon indicating copy to clipboard operation
sublime-markdown-extended copied to clipboard

'Toggle comment' doesn't work correctly in GFM code blocks

Open willbeaufoy opened this issue 9 years ago • 1 comments

This would be more of an extra feature, I was wondering whether it would be possible. Would be up for having a look myself if no one's tried it already.

Basically if you select 'toggle comment' within a GFM code block, the comment syntax will be HTML, not the language the code block is written in. E.g. see below for an example of what happens when you 'toggle comment' on a line in an SQL code block

<!-- select * from clients -->

Desired behaviour would be for what sublime does in an sql file:

-- select * from clients

willbeaufoy avatar Nov 03 '14 12:11 willbeaufoy

sorry for the late reply. yeah this would be nice to have. a pr would be great

jonschlinkert avatar Feb 09 '15 07:02 jonschlinkert