jupyter notebook 上是否有本地方式或小部件来设置降价单元以创建类似的东西,html tabs
这样我就可以添加我想要的每种语言的文档,而不是创建 3 个不同的笔记本,这会增加我的实验的可维护性的复杂性?
能够添加这样的东西就足够了
<!-- Tab links -->
<div class="tab">
<button class="tablinks" onclick="openCity(event, 'Spanish')">Spanish</button>
<button class="tablinks" onclick="openCity(event, 'English')">English</button>
<button class="tablinks" onclick="openCity(event, 'Japanese')">Japanese</button>
</div>
<!-- Tab content -->
<div id="Spanish" class="tabcontent">
<h3>Spanish Explanation</h3>
<p>This is an explanation in Spanish</p>
</div>
<div id="English" class="tabcontent">
<h3>English Explanation</h3>
<p>This is an explanation in English</p>
</div>
<div id="Japanese" class="tabcontent">
<h3>Japanese Explanation</h3>
<p>This is an explanation in Japanese</p>
</div>