1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
|
# Sphinx Inline Tabs
```{include} ../README.md
:start-after: <!-- start-include-here -->
:end-before: <!-- end-include-here -->
```
## Demo
```{tab} One
One is an interesting number.
```
```{tab} Two
Two is the even prime.
```
```{tab} Three
Three is an odd prime.
```
```{tab} Four
Four is not a perfect number.
```
This is text after the tabs, which seems to flow right through, which avoids breaking the flow of the document. And, if JavaScript is enabled, the next set of tabs will be synchronised.
````{tab} One
```
print(1)
```
````
````{tab} Two
```
print(2)
```
````
````{tab} Three
```
print(3)
```
````
````{tab} Four
```
print(4)
```
````
To know more, take a look at the [Usage](usage) documentation of this project.
```{toctree}
:hidden:
usage
```
```{toctree}
:caption: Useful Links
:hidden:
PyPI page <https://pypi.org/project/sphinx-inline-tabs>
GitHub Repository <https://github.com/pradyunsg/sphinx-inline-tabs>
```
|