Line Comment in Rmarkdown
See original GitHub issueIn an Rmd file, outside of code chunks, using the ‘Toggle Line Comment’ command should add an HTML comment, not a #
Commenting out TEXT should result in
<!-- TEXT -->
and not
# TEXT
Issue Analytics
- State:
- Created 4 years ago
- Comments:5
Top Results From Across the Web
Comments in Markdown - syntax - Stack Overflow
[//]: # "Comment" and [//]: # (Comment) seem to work on a wider variety of implementations, because # is a valid relative URI....
Read more >How do you write Comments in Markdown content
Here is a comments syntax. Comment text started with {::comment} and ends with {:/comment} . ... Comments write in a single line along...
Read more >How to comment out stuff in Markdown on GitHub?
Make sure add a double space after each comment line.
Read more >Markdown Comment - Linux Hint
A Markdown comment refers to a text added to a Markdown file but ignored by the renderer app. Thus, a markdown comment is...
Read more >4.17 Comment out text | R Markdown Cookbook - Bookdown
If you use RStudio, you can use the keyboard shortcut Ctrl + Shift + C ( Command + Shift + C on macOS)...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I am reworking the Rmd syntax so that we use VSCode’s built-in Markdown grammar, and add to it code chunks with braces and inline R code. This should also fix #36, #48 and #116.
As a side note, here are the languages that VSCode provides highlighting for without any extensions installed: https://github.com/Microsoft/vscode/tree/master/extensions