Skip to content

Commit 7704f9c

Browse files
committed
Update formatter to new place marker
1 parent fb17d1f commit 7704f9c

File tree

2 files changed

+31
-1
lines changed

2 files changed

+31
-1
lines changed

examples/golden/ManyAttributes.t

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
% technique v1
2+
3+
making_coffee :
4+
5+
These are the steps.
6+
7+
1. First
8+
@chef
9+
- First sub task
10+
- Second sub task
11+
2. Second
12+
@chef + @barista
13+
- Third sub task
14+
- Fourth sub task
15+
3. Third
16+
^kitchen
17+
- Fifth sub task
18+
- Sixth sub task
19+
4. Four
20+
^kitchen + ^bathroom
21+
- Seventh sub task
22+
- Eighth sub task
23+
5. Five
24+
@chef + ^bathroom
25+
- Ninth sub task
26+
- Tenth sub task
27+
6. Six
28+
^kitchen + @barista
29+
- Ninth sub task
30+
- Tenth sub task

src/formatting/formatter.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -866,7 +866,7 @@ impl<'i> Formatter<'i> {
866866
self.add_fragment_reference(Syntax::Attribute, name.0);
867867
}
868868
Attribute::Place(name) => {
869-
self.add_fragment_reference(Syntax::Attribute, "#");
869+
self.add_fragment_reference(Syntax::Attribute, "^");
870870
self.add_fragment_reference(Syntax::Attribute, name.0);
871871
}
872872
}

0 commit comments

Comments
 (0)