question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Line Comment in Rmarkdown

See original GitHub issue

In 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:closed
  • Created 4 years ago
  • Comments:5

github_iconTop GitHub Comments

2reactions
andycraigcommented, Feb 9, 2020

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.

0reactions
andycraigcommented, Feb 8, 2020

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found