Comments (3)
This is not on the TODO list for libyaml.
None of us has time for this.
I recommend to try out https://github.com/pantoniou/libfyaml which has support for this.
from libyaml.
Could you add support of blank lines and comments (re)format support, because people seems has been fighting with these issues for ages:
- yq write strips completely blank lines from the output mikefarah/yq#515
- In place write strips out comments mikefarah/yq#19
- Comments not preserved in output mikefarah/yq#127
- Preserve formatting with in place writing mikefarah/yq#465
- YAML comments will be stripped ... should be noted in the README kislyuk/yq#106
- blank lines do not round-trip go-yaml/yaml#627
- Support for emitting and parsing comments #42
Originally posted by @andry81 in #20 (comment)
any update on this features ?
from libyaml.
pull requests welcome
from libyaml.
Related Issues (20)
- error HOT 7
- Event based YAML parsing
- build: run ./configure fail, cannot build successfully HOT 2
- Find heap buffer overflow by running fuzz test HOT 29
- Error in `./run-emitter': double free or corruption (fasttop): 0x0000000000621760 *** HOT 1
- problem libyaml building on Ubuntu HOT 2
- Set permissions for Github Workflows HOT 1
- ./bootstrap fails on Ubuntu 20.04.5 LTS HOT 1
- heap-buffer-overflow in yaml_emitter_emit_flow_mapping_key function of emitter.c:810:27 HOT 2
- run-emitter-test-suite: negative-size-param in `get_tag/memcpy`
- Security Audit of libyaml
- Add advance error reporting for custom write_handler()
- Add Meson build system
- `sprintf` is deprecated on MacOS if ASAN is enable.
- Some emojis are incorrectly not considered printable
- Error when build libyaml 0.2.5 for Centos 7.9. HOT 1
- Error when build libyaml 0.2.5 for Centos 7.9
- How is this CVE-2024-3205 affected? HOT 12
- traces failure of yaml_emitter_write_indicator HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libyaml.