Comments (4)
This feature has been implemented and can now be used like this:
dump(@[a], s, options = defineOptions(maxLineLength = none(int)))
from nimyaml.
Can you be more precise about what bothers you? Perhaps show what output you expect?
from nimyaml.
If this is simply about the newline, I'm afraid there currently isn't an option to disable it. When I wrote this code apparently I was appalled by lines having more than 80 characters so I hardcoded that limit. This is not a good state of affairs.
Transforming this into a feature request for the user to be able to set or disable line wrapping.
from nimyaml.
Can you be more precise about what bothers you? Perhaps show what output you expect?
It makes URL hard to read (they shouldn't be broken in the middle).
from nimyaml.
Related Issues (20)
- Option to Ignore unknown fields HOT 1
- Handle multi-line arrays HOT 2
- Currently Failing Suite Tests HOT 1
- Strings of length >= 80 with a single non-space character serialize to invalid YAML HOT 2
- Comment after block/multi-line text HOT 2
- Future compile-time error in dom.nim HOT 2
- loadDom SIGSEGV: Illegal storage access. HOT 7
- [Documentation] Simple example for loading a simple .yml file? HOT 3
- broken enum HOT 3
- Compilation hint: 'dump' cannot raise 'YamlSerializationError' [XCannotRaiseY] HOT 5
- dumping leaves part of string on same line as >- making the file unable to be loaded from HOT 8
- `| >` wrapping functionality can generate invalid YAML HOT 1
- Fails to parse a triple dot in string lit
- defaultVal is not observed on stropped names HOT 2
- Anchor in ignored tag HOT 5
- BUG: loading zero to unsigned integer generates a YamlConstructionError
- BUG: loading to float32 generates an error HOT 3
- Can't get optional fields to work HOT 3
- ignore pragma doesn't work on nested maps 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 nimyaml.