[GH-ISSUE #274] make work with .rmd (R Markdown) files #235

Closed
opened 2026-03-03 01:24:58 +03:00 by kerem · 4 comments
Owner

Originally created by @SpeedCoder5 on GitHub (Apr 16, 2020).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/274

Works great with .md (Markdown) files. Don't know how to make it work with .rmd (R Markdown) files. If it already does - perhaps it is just an update to the documentation?

Originally created by @SpeedCoder5 on GitHub (Apr 16, 2020). Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/274 Works great with .md (Markdown) files. Don't know how to make it work with .rmd (R Markdown) files. If it already does - perhaps it is just an update to the documentation?
kerem 2026-03-03 01:24:58 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@DavidAnson commented on GitHub (Apr 16, 2020):

R Markdown appears to be based on Markdown, so I would assume all of the common structure would be handled similarly. Context: https://ourcodingclub.github.io/tutorials/rmarkdown/

What do you mean when you say it doesn’t work?

<!-- gh-comment-id:614948956 --> @DavidAnson commented on GitHub (Apr 16, 2020): R Markdown appears to be based on Markdown, so I would assume all of the common structure would be handled similarly. Context: https://ourcodingclub.github.io/tutorials/rmarkdown/ What do you mean when you say it doesn’t work?
Author
Owner

@SpeedCoder5 commented on GitHub (Apr 16, 2020):

When I edit a .md file in VSCode with the extension installed it shows rule violations in the "problems" view. If, instead, the extension of the file is .rmd the rule violations do not show up in the "problems" view.

<!-- gh-comment-id:614956442 --> @SpeedCoder5 commented on GitHub (Apr 16, 2020): When I edit a .md file in VSCode with the extension installed it shows rule violations in the "problems" view. If, instead, the extension of the file is .rmd the rule violations do not show up in the "problems" view.
Author
Owner

@DavidAnson commented on GitHub (Apr 17, 2020):

It sounds like you want to change the language mode of the current file - or maybe for all “.rmd“ files - to “markdown“. Here is the documentation for how to do that in VS Code: https://code.visualstudio.com/docs/languages/overview

<!-- gh-comment-id:614961455 --> @DavidAnson commented on GitHub (Apr 17, 2020): It sounds like you want to change the language mode of the current file - or maybe for all “.rmd“ files - to “markdown“. Here is the documentation for how to do that in VS Code: https://code.visualstudio.com/docs/languages/overview
Author
Owner

@SpeedCoder5 commented on GitHub (Apr 17, 2020):

Yes. That worked. Thanks. :D

<!-- gh-comment-id:614965066 --> @SpeedCoder5 commented on GitHub (Apr 17, 2020): Yes. That worked. Thanks. :D
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/markdownlint#235
No description provided.