Skip to content

Commit

Permalink
an example using skip
Browse files Browse the repository at this point in the history
  • Loading branch information
parmentelat committed Nov 24, 2020
1 parent e24592d commit e28c43d
Showing 1 changed file with 141 additions and 0 deletions.
141 changes: 141 additions & 0 deletions examples/the-meaning-of-skip.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,141 @@
{
"cells": [
{
"cell_type": "markdown",
"metadata": {
"slideshow": {
"slide_type": "slide"
}
},
"source": [
"# slide 1"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## still in slide 1"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"* the text for the slide\n",
"* and so on\n",
"* and on"
]
},
{
"cell_type": "markdown",
"metadata": {
"slideshow": {
"slide_type": "skip"
}
},
"source": [
"# slide 2"
]
},
{
"cell_type": "markdown",
"metadata": {
"slideshow": {
"slide_type": "-"
}
},
"source": [
"## in slide 2"
]
},
{
"cell_type": "markdown",
"metadata": {
"slideshow": {
"slide_type": "-"
}
},
"source": [
"* that's typically the slide we'd like to skip\n",
"* 2 options for the meaning ok 'skip'\n",
" 1. need to mark all 3 cells in the slide as 'skip' \n",
" 1. mark the 'slide 2' cell as 'skip', and that's enough\n",
"\n",
" "
]
},
{
"cell_type": "markdown",
"metadata": {
"slideshow": {
"slide_type": "slide"
}
},
"source": [
"# header 3"
]
},
{
"cell_type": "markdown",
"metadata": {
"slideshow": {
"slide_type": "-"
}
},
"source": [
"## sub title 3"
]
},
{
"cell_type": "markdown",
"metadata": {
"slideshow": {
"slide_type": "-"
}
},
"source": [
"as described in https://github.com/damianavila/RISE/issues/577\n",
"\n",
"I'd rather we go for 2\n",
"\n",
"in any case at this point, it's not working\n"
]
}
],
"metadata": {
"celltoolbar": "Slideshow",
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.5"
},
"toc": {
"base_numbering": 1,
"nav_menu": {},
"number_sections": true,
"sideBar": true,
"skip_h1_title": false,
"title_cell": "Table of Contents",
"title_sidebar": "Contents",
"toc_cell": false,
"toc_position": {},
"toc_section_display": true,
"toc_window_display": false
}
},
"nbformat": 4,
"nbformat_minor": 4
}

0 comments on commit e28c43d

Please sign in to comment.