-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[request/suggestion] Treat Rmarkdown as Markdown #259
Comments
Thank you for your feedback! You could try to follow the steps in the README concerning customization and add something like this Sublime Text package. Let me know if that works for you! |
I saw those hints but backed off as I think I want something simpler. Ie in edd@rob:~$ bat --list-languages | grep markdown
Markdown md, mdown, markdown, markdn
edd@rob:~$ I "merely" want another trigger for files ending in |
Yes. In this case, this request is a duplicate of #169. |
Apologies, did not spot that when I was looking for '*markdown' topics. |
No worries 👍 |
This is now supported in v0.8.0. Add this to your config file:
|
Works nicely! Could you maybe add a default config file in the .deb and other packages? |
Thank you for checking! What would you expect from such a default config file? |
The way things usually work (and "usually" for me means from a .deb, or from source) is that the binary either has default beahviour baked in, or ships with (or install) a resource file, or both. Here, in order to see Rmd content, I had to create a new directory ( You could just ship a sample config file, and/or post one on the website. I didn't add anything besides that line (and a theme setting). Am I making sense to you, or are we on different wavelength here? |
I think we should definitely add more documentation on how I'm not sure if I want to ship a "default" config with |
Visible is good. Right now it is a weeee bit hidden. |
Tracking here: #377 |
Apologies for requesting something that I should probably figure out myself -- but couldn't yet ...
bat
is so awesome and addictive that I want to work on Rmarkdown files too. You already support Markdown in many variants, so could the.Rmd
extension be aliased? These files often contain code snippets, predominantly in R though other languages are supported as well. Some tools such as Emacspolymode
cover both and switch -- that is too much too ask here. But it would be really really nice to see the standard text markup in.Rmd
rendered as Markdown.Thanks for considering this.
The text was updated successfully, but these errors were encountered: