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

Translate R Markdown visibility options #366

Merged
merged 6 commits into from
Oct 29, 2019
Merged

Conversation

mwouts
Copy link
Owner

@mwouts mwouts commented Oct 29, 2019

R Markdown options for hiding the cell input/output, or the entire cell, are now mapped to either the Jupyter Book tags remove_input/remove_output/remove_cell (by default), or to the hide_input/hide_output metadata used by the runtools extension for Jupyter Notebook (when the option use_runtools is activated).

Closes #337

@codecov
Copy link

codecov bot commented Oct 29, 2019

Codecov Report

Merging #366 into master will decrease coverage by 0.02%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #366      +/-   ##
==========================================
- Coverage   99.07%   99.05%   -0.03%     
==========================================
  Files          73       74       +1     
  Lines        7262     7311      +49     
==========================================
+ Hits         7195     7242      +47     
- Misses         67       69       +2
Impacted Files Coverage Δ
jupytext/cell_to_text.py 97.41% <100%> (ø) ⬆️
tests/test_read_simple_rmd.py 100% <100%> (ø) ⬆️
jupytext/formats.py 98.98% <100%> (ø) ⬆️
jupytext/jupytext.py 100% <100%> (ø) ⬆️
tests/test_active_cells.py 100% <100%> (ø) ⬆️
jupytext/cell_reader.py 96.91% <100%> (ø) ⬆️
tests/test_hide_remove_input_outputs_rmarkdown.py 100% <100%> (ø)
jupytext/cell_metadata.py 96.59% <100%> (-0.57%) ⬇️
tests/test_cell_metadata.py 100% <100%> (ø) ⬆️
... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b88ea4d...4ad8462. Read the comment docs.

@mwouts mwouts merged commit 6bf09af into master Oct 29, 2019
@mwouts mwouts deleted the hide_input_outputs_metadata branch October 29, 2019 23:04
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

Successfully merging this pull request may close these issues.

Metadata for hiding input/output or cells
1 participant