Skip to content

Commit 4484c84

Browse files
authored
Merge pull request #727 from renato145/directives-typos
Fix typos for directive comments
2 parents e226416 + cd25813 commit 4484c84

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

nbs/tutorial.ipynb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,7 @@
644644
"source": [
645645
"## Code Execution & Skipping Cells\n",
646646
"\n",
647-
"If you want to prevent code from getting executed when rendering or testing docs, use the comment `|#eval: false` in a code cell. \n",
647+
"If you want to prevent code from getting executed when rendering or testing docs, use the comment `#|eval: false` in a code cell. \n",
648648
"\n",
649649
"See the [Quarto docs](https://quarto.org/docs/computations/execution-options.html) for more execution options."
650650
]
@@ -807,9 +807,9 @@
807807
"source": [
808808
"## Controling Cell and Output Visibility\n",
809809
"\n",
810-
"To control what is displayed or hidden in the docs from a notebook, you will want to use one more directives. Directives are special comments that have are preceeded by `|#` that do some kind of pre or post processing of a notebook data before docs are rendered. Some of these directives are part of Quarto, but others are ones that we have added to nbdev. A walk-through of the most common ones are below:\n",
810+
"To control what is displayed or hidden in the docs from a notebook, you will want to use one more directives. Directives are special comments that have are preceeded by `#|` that do some kind of pre or post processing of a notebook data before docs are rendered. Some of these directives are part of Quarto, but others are ones that we have added to nbdev. A walk-through of the most common ones are below:\n",
811811
"\n",
812-
"#### `|#hide`\n",
812+
"#### `#|hide`\n",
813813
"\n",
814814
"When you use this directive, you will not see the cell input or output."
815815
]
@@ -836,7 +836,7 @@
836836
"cell_type": "markdown",
837837
"metadata": {},
838838
"source": [
839-
"#### `|#echo: false`\n",
839+
"#### `#|echo: false`\n",
840840
"\n",
841841
"This makes sure that only the output of a code cell is shown, not its input."
842842
]
@@ -863,7 +863,7 @@
863863
"cell_type": "markdown",
864864
"metadata": {},
865865
"source": [
866-
"#### `|#hide_line`\n",
866+
"#### `#|hide_line`\n",
867867
"\n",
868868
"You can use this to hide as specific line in your code. for example:\n",
869869
"\n",

0 commit comments

Comments
 (0)