mirror of
https://github.com/mikefarah/yq.git
synced 2026-09-05 00:54:51 +08:00
wip refactoring printer
This commit is contained in:
+4
-8
@@ -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
@@ -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 -->
|
||||
Reference in New Issue
Block a user