File tree Expand file tree Collapse file tree 2 files changed +39
-0
lines changed
Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Original file line number Diff line number Diff line change @@ -163,3 +163,11 @@ paris_map()
163163### referencing the map
164164
165165[ this should show a map ?] ( #the-labeled-map )
166+
167+ +++
168+
169+ ## referencing a hidden notebook
170+
171+
172+
173+ [ Hover me to refer to the cell labeled ` the-hidden-reference ` ] ( #the-hidden-reference )
Original file line number Diff line number Diff line change 1+ ---
2+ jupytext :
3+ formats : md:myst
4+ text_representation :
5+ extension : .md
6+ format_name : myst
7+ kernelspec :
8+ display_name : Python 3 (ipykernel)
9+ language : python
10+ name : python3
11+ language_info :
12+ name : python
13+ pygments_lexer : ipython3
14+ nbconvert_exporter : python
15+ ---
16+
17+ # a hidden notebook
18+
19+ +++
20+
21+ this is a hidden notebook with a code cell that has label ` the-hidden-reference `
22+
23+ it is referred to from notebook on x-refs
24+
25+ ``` {code-cell} ipython3
26+ #| label: the-hidden-reference
27+
28+ # The comment above has special syntax and sets cell metadata.
29+ # This allows us to embed the output in other places.
30+ print("Hello world! from the-hidden-reference")
31+ ```
You can’t perform that action at this time.
0 commit comments