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.

Provide support for extension in Rmarkdown

See original GitHub issue

What is the problem?

I cannot use the keybindings for this extension in rmarkdown files (e.g., bold, italics, format table, etc). I can activate the commands via the command palette.

How can I reproduce it?

Open a file with .Rmd extension, and execute commands via keybindings.

Is there any error message in the console?

No.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:8
  • Comments:31 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
CLRafaelRcommented, Nov 18, 2022

@yzhang-gh Thank you for adding the support for R Markdown! I uninstalled the extention I previouly had and I installed the dev build of the extention via vsix. I confirmed that now Markdown All in One activates once after I open/view .Rmd files and both toggleBold and toggleItalic work inmediately.

1reaction
yzhang-ghcommented, Oct 23, 2022

Hi all, I have added initial R Markdown support in the dev build (find it in the Artifacts section).

In short, this extension is now always activated for rmd files (so you no longer have to change the file associations manually). toggleBold and toggleItalic key bindings are also supported by default (for other key bindings you will still need to define them by yourself).

There is a new markdown.extension.supportedLangIds option which accepts an array of language ids (for now only rmd). I haven’t tested all the features, but you can try it (e.g. you will see syntax decorations for code spans).

Read more comments on GitHub >

github_iconTop Results From Across the Web

12.3 Markdown extensions | R Markdown: The Definitive Guide
The bookdown package expands upon the Markdown syntax outlined in Section 2.5, and provides additional powerful features that assist longer documents and ...
Read more >
Introduction to R Markdown - RStudio
Turn your analyses into high quality documents, reports, presentations and dashboards with R Markdown. Use a productive notebook interface ...
Read more >
R Markdown All in One - Visual Studio Marketplace
This extension provides a few snippets and key bindings for common tasks in .Rmd documents, such as inserting code chunks and including ...
Read more >
grid_tables extension on RMarkdown - Stack Overflow
Please be sure to answer the question. Provide details and share your research! ... Asking for help, clarification, or responding to other answers ......
Read more >
27 R Markdown | R for Data Science
27.1 Introduction R Markdown provides an unified authoring framework for data ... R Markdown documents are fully reproducible and support dozens of output ......
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