Skip to content

Commit c7c1fc2

Browse files
committed
Add #20 fix to NEWS
1 parent 688ac33 commit c7c1fc2

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

NEWS.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# Algorithmic NEWS
22

3+
## v1.0.4
4+
5+
> ![INFO]
6+
> @drecouse fixed an issue with `LineComment` preventing loops' body from displaying (#20).
7+
> Now, you can use `LineComment` on loops without issues.
8+
> ```typ
9+
> LineComment(
10+
> While($j <= 10$, {
11+
> Assign[$x$][1]
12+
> }),
13+
> "This is inside a nested block",
14+
> )
15+
> ```
16+
> ![Screenshot of an algorithm showing a for-loop from i = 1 to 10, with each iteration containing a line calculation (1+1) and a nested while-loop from j = 1 to 10 assigning x = 1, with line comments describing "This is inside a nested block" and "This is a line comment after a block".](https://raw.githubusercontent.com/typst-community/typst-algorithmic/refs/tags/v1.0.4/tests/linecommentfor/ref/1.png)
17+
18+
319
## v1.0.3
420
521
> ![WARNING]

0 commit comments

Comments
 (0)