Hide multiple cells in Jupyter Lab when an other cell is executed to create bilingual notebooks

Viewed 9

I want to create bilingual notebooks. Some markdown cells are written in French, others in English and the cells code are all the same.

Is there a simple way to hide/display all cells written in English and hide/display those in French ?

I thought about writing something using magic command %%html in order to display or hide cells based on condition - like if the cells start with a special tag "" and "" for example. But I can't figure out how to do this.

%%html
<style>

# ??????????

</style>
</html>

Any idea would be highly appreciated! :)

0 Answers
Related