Skip to content

Commit ef56974

Browse files
committed
indent dot
1 parent 0661b61 commit ef56974

File tree

1 file changed

+31
-19
lines changed

1 file changed

+31
-19
lines changed

nbs/tutorials/tutorial.ipynb

Lines changed: 31 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1505,24 +1505,24 @@
15051505
"source": [
15061506
"nbdev supports most Quarto features. We encourage you to read the [Quarto documentation](https://quarto.org/) to discover all the features available to you. For example, this is how you can [incorporate Graphviz](https://quarto.org/docs/authoring/diagrams.html#graphviz):\n",
15071507
"\n",
1508-
"```{dot}\n",
1509-
"graph G {\n",
1510-
" layout=neato\n",
1511-
" run -- intr;\n",
1512-
" intr -- runbl;\n",
1513-
" runbl -- run;\n",
1514-
" run -- kernel;\n",
1515-
" kernel -- zombie;\n",
1516-
" kernel -- sleep;\n",
1517-
" kernel -- runmem;\n",
1518-
" sleep -- swap;\n",
1519-
" swap -- runswap;\n",
1520-
" runswap -- new;\n",
1521-
" runswap -- runmem;\n",
1522-
" new -- runmem;\n",
1523-
" sleep -- runmem;\n",
1524-
"}\n",
1525-
"```\n",
1508+
" ```{dot}\n",
1509+
" graph G {\n",
1510+
" layout=neato\n",
1511+
" run -- intr;\n",
1512+
" intr -- runbl;\n",
1513+
" runbl -- run;\n",
1514+
" run -- kernel;\n",
1515+
" kernel -- zombie;\n",
1516+
" kernel -- sleep;\n",
1517+
" kernel -- runmem;\n",
1518+
" sleep -- swap;\n",
1519+
" swap -- runswap;\n",
1520+
" runswap -- new;\n",
1521+
" runswap -- runmem;\n",
1522+
" new -- runmem;\n",
1523+
" sleep -- runmem;\n",
1524+
" }\n",
1525+
" ```\n",
15261526
"\n",
15271527
"It is worth taking a look at the documentation for [figures](https://quarto.org/docs/authoring/figures.html), [callouts](https://quarto.org/docs/authoring/callouts.html), [markdown](https://quarto.org/docs/authoring/markdown-basics.html), [widgets](https://quarto.org/docs/interactive/widgets/jupyter.html), [layouts](https://quarto.org/docs/interactive/layout.html), [conditional content](https://quarto.org/docs/authoring/conditional.html) and [quarto extensions](https://quarto.org/docs/extensions/) to name a few useful things we have encountered."
15281528
]
@@ -1540,10 +1540,22 @@
15401540
"split_at_heading": true
15411541
},
15421542
"kernelspec": {
1543-
"display_name": "python3",
1543+
"display_name": "Python 3 (ipykernel)",
15441544
"language": "python",
15451545
"name": "python3"
15461546
},
1547+
"language_info": {
1548+
"codemirror_mode": {
1549+
"name": "ipython",
1550+
"version": 3
1551+
},
1552+
"file_extension": ".py",
1553+
"mimetype": "text/x-python",
1554+
"name": "python",
1555+
"nbconvert_exporter": "python",
1556+
"pygments_lexer": "ipython3",
1557+
"version": "3.12.4"
1558+
},
15471559
"widgets": {
15481560
"application/vnd.jupyter.widget-state+json": {
15491561
"state": {},

0 commit comments

Comments
 (0)