Skip to content

Commit fa58661

Browse files
authored
docs: Indent code blocks to make it part of ordered list (#1570)
It doesn't work. The rendered list is still fragmented, with a single item list, then a code block, then another single item list, then another code block. However, the second list does start at 2 as opposed to 1 in the current build. Unsure of the build intricacies involved here. But for most Markdown parsers, it should appear as one list.
1 parent 9a9a4c1 commit fa58661

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

src/layers/containers.jl

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -389,21 +389,21 @@ Layer behaves differently based on input type:
389389
1. If the input `x` is a tuple of length `N + 1`, then the `layers` must be a tuple of
390390
length `N`. The computation is as follows
391391
392-
```julia
393-
y = x[1]
394-
for i in 1:N
395-
y = connection(x[i + 1], layers[i](y))
396-
end
397-
```
392+
```julia
393+
y = x[1]
394+
for i in 1:N
395+
y = connection(x[i + 1], layers[i](y))
396+
end
397+
```
398398
399399
2. Any other kind of input
400400
401-
```julia
402-
y = x
403-
for i in 1:N
404-
y = connection(x, layers[i](y))
405-
end
406-
```
401+
```julia
402+
y = x
403+
for i in 1:N
404+
y = connection(x, layers[i](y))
405+
end
406+
```
407407
408408
## Returns
409409

0 commit comments

Comments
 (0)