Skip to content

Commit 35653cb

Browse files
Fix nested code block (use Markdown nesting syntax)
Use Markdown nesting syntax rather than indented code block for for the nested code block. Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
1 parent 5206efb commit 35653cb

File tree

1 file changed

+15
-13
lines changed

1 file changed

+15
-13
lines changed

docs/README-OVERRIDES.md

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -29,29 +29,31 @@ Given a `cspell.json` as follows:
2929

3030
And the following, as `test1.md` and as `test1.err`:
3131

32-
``` markdown
32+
```` markdown
3333
## Sample code block
3434

35-
if grep -r "something" .; then
36-
echo "Found"
37-
fi
35+
```sh
36+
if grep -r "something" .; then
37+
echo "Found"
38+
fi
3839

39-
case "a string with 3" in
40-
with)
41-
echo "Why?"
42-
;;
43-
esac
40+
case "a string with 3" in
41+
with)
42+
echo "Why?"
43+
;;
44+
esac
4445

45-
. ./.bash_aliases
46+
. ./.bash_aliases
4647

47-
# We should use getopts
48+
# We should use getopts
4849

49-
shopt -p
50+
shopt -p
51+
```
5052

5153
## And another topic
5254

5355
Words, many words.
54-
```
56+
````
5557

5658
When `cspell` is invoked `test1.md` should not show errors, but `test1.err`
5759
should.

0 commit comments

Comments
 (0)