wip refactoring printer

This commit is contained in:
Mike Farah
2021-12-22 12:22:29 +11:00
parent 9c6d84d184
commit d105efbcf1
9 changed files with 165 additions and 77 deletions
+4 -8
View File
@@ -1,8 +1,4 @@
# above_cat
cat: # inline_cat
# above_array
array: # inline_array
- 3 # inline_3
# above_4
- 4 # inline_4
# below_cat
#hi
---
# hi
- - fish
+14 -2
View File
@@ -1,2 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<cat legs="4">BiBi</cat>
<!-- before cat -->
<cat>
<!-- in cat before -->
<x>3<!-- multi
line comment
for x --></x>
<y>
<!-- in y before -->
<d><!-- in d before -->4<!-- in d after --></d>
<!-- in y after -->
</y>
<!-- in_cat_after -->
</cat>
<!-- after cat -->