Skip to content
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

Convert Jupyter Notebooks with R code cells to ```r code cells #1219

Open
ClemensKohl opened this issue Mar 19, 2024 · 0 comments
Open

Convert Jupyter Notebooks with R code cells to ```r code cells #1219

ClemensKohl opened this issue Mar 19, 2024 · 0 comments

Comments

@ClemensKohl
Copy link

Hi,
I am running Jupyter Notebooks with an R Kernel and when converting these files to Markdow the code cells are converted to code blocks starting with R. However many e.g. neovim plugins such as quarto.nvim and otter.nvim expect code blocks to start with r for e.g. syntax highlighting.
Is there a setting, e.g. a flag, that I can make to ensure that these cells are converted to code blocks starting with ```r?
For reference, here is the metadata from an example notebook:

jupyter:
  jupytext:
    text_representation:
      extension: .md
      format_name: markdown
      format_version: '1.3'
      jupytext_version: 1.16.1
  kernelspec:
    display_name: R 4.2
    language: R
    name: ir42

Thanks a lot for your time and help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant