Skip to content

Commit e30738c

Browse files
committed
a separate bug page for the mystmd issue
1 parent 8da9045 commit e30738c

File tree

2 files changed

+31
-2
lines changed

2 files changed

+31
-2
lines changed

notebooks/2-05-xrefs-nb.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@ import numpy as np
3535
import matplotlib.pyplot as plt
3636
```
3737

38-
+++ {"jp-MarkdownHeadingCollapsed": true}
39-
4038
### the source cell
4139

4240
we put a label `the-labeled-plot` on the following code cell

notebooks/2-06-mystmdbug.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
jupytext:
3+
formats: md:myst
4+
text_representation:
5+
extension: .md
6+
format_name: myst
7+
kernelspec:
8+
name: python3
9+
display_name: Python 3 (ipykernel)
10+
language: python
11+
language_info:
12+
name: python
13+
pygments_lexer: ipython3
14+
nbconvert_exporter: python
15+
---
16+
17+
# mystmd xref bug reproduction
18+
19+
+++
20+
21+
## define a cell with a label
22+
23+
```{code-cell} ipython3
24+
#| label: the-label
25+
26+
print("hello world")
27+
```
28+
29+
## embed the content
30+
31+
[hover here to see the output of the labeled cell i.e. `hello world`](#the-label)

0 commit comments

Comments
 (0)