File tree 2 files changed +5
-7
lines changed
2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 1
- # Demo
2
-
3
- - [ Alice likes red green yellow ] ( http://example.org/alice )
4
-
5
- - [ Bob likes orange ] ( http://example.org/bob )
6
-
1
+ # {{title}}
7
2
3
+ {% for user in users -%}
4
+ - [ {{ user.username }} likes {% for color in user.fav_colors -%}{{ color }} {% endfor %}] ({{ user.url }})
5
+ {% endfor %}
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ OUTPUT_FILE=$OUTPUT_DIR/template.html
9
9
10
10
RUST_BACKTRACE=1 md-to-doc.sh " $( cat $INPUT_DATA ) " $INPUT_TEMPLATE $OUTPUT_DIR
11
11
12
- STRINGS_TO_CHECK=(' <h1>Demo</h1>' ' <p ><a href="http://example.org/alice">Alice likes red green yellow </a></p >' ' <p ><a href="http://example.org/bob">Bob likes orange </a></p >' )
12
+ STRINGS_TO_CHECK=(' <h1>Demo</h1>' ' <li ><a href="http://example.org/alice">Alice likes red green yellow </a></li >' ' <li ><a href="http://example.org/bob">Bob likes orange </a></li >' )
13
13
14
14
for STRING in " ${STRINGS_TO_CHECK[@]} " ; do
15
15
if ! grep -q " $STRING " " $OUTPUT_FILE " ; then
You can’t perform that action at this time.
0 commit comments