3 — Navigation

Navigation interactions include things like the TOC for a particular page and anchor links within a page, tabset panels

Hidden content

Panel tabsets

text

text

text

Toggle and hamburger menus are convenient ways of hiding and showing content.

a. 2012. absolute.
achieve

able. 2013. accept.
across

about. 2014. account.
act


This is also available for example when hiding code:

Some r examples:

Code can be folded and by default not displayed:

Code
1 + 1
[1] 2

Code can be not folded:

1 + 1
[1] 2

Code can be folded and by default displayed:

Code
1 + 1
[1] 2

Some python examples:

Code can be folded and by default not displayed:

Code
import matplotlib.pyplot as plt
import numpy as np

# Data for plotting
t = np.arange(0.0, 2.0, 0.01)
s = 1 + np.sin(2 * np.pi * t)

fig, ax = plt.subplots()
ax.plot(t, s)

ax.set(xlabel='time (s)', ylabel='voltage (mV)',
       title='About as simple as it gets, folks')
ax.grid()

fig.savefig("test.png")
plt.show()

Code can be folded and by default displayed:

Code
import matplotlib.pyplot as plt
import numpy as np

# Data for plotting
t = np.arange(0.0, 2.0, 0.01)
s = 1 + np.sin(2 * np.pi * t)

fig, ax = plt.subplots()
ax.plot(t, s)

ax.set(xlabel='time (s)', ylabel='voltage (mV)',
       title='About as simple as it gets, folks')
ax.grid()

fig.savefig("test.png")
plt.show()