Skip to content

Commit

Permalink
indent dot
Browse files Browse the repository at this point in the history
  • Loading branch information
jph00 committed Oct 20, 2024
1 parent 0661b61 commit ef56974
Showing 1 changed file with 31 additions and 19 deletions.
50 changes: 31 additions & 19 deletions nbs/tutorials/tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1505,24 +1505,24 @@
"source": [
"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",
"\n",
"```{dot}\n",
"graph G {\n",
" layout=neato\n",
" run -- intr;\n",
" intr -- runbl;\n",
" runbl -- run;\n",
" run -- kernel;\n",
" kernel -- zombie;\n",
" kernel -- sleep;\n",
" kernel -- runmem;\n",
" sleep -- swap;\n",
" swap -- runswap;\n",
" runswap -- new;\n",
" runswap -- runmem;\n",
" new -- runmem;\n",
" sleep -- runmem;\n",
"}\n",
"```\n",
" ```{dot}\n",
" graph G {\n",
" layout=neato\n",
" run -- intr;\n",
" intr -- runbl;\n",
" runbl -- run;\n",
" run -- kernel;\n",
" kernel -- zombie;\n",
" kernel -- sleep;\n",
" kernel -- runmem;\n",
" sleep -- swap;\n",
" swap -- runswap;\n",
" runswap -- new;\n",
" runswap -- runmem;\n",
" new -- runmem;\n",
" sleep -- runmem;\n",
" }\n",
" ```\n",
"\n",
"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."
]
Expand All @@ -1540,10 +1540,22 @@
"split_at_heading": true
},
"kernelspec": {
"display_name": "python3",
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.12.4"
},
"widgets": {
"application/vnd.jupyter.widget-state+json": {
"state": {},
Expand Down

0 comments on commit ef56974

Please sign in to comment.