Giter VIP home page Giter VIP logo

Comments (4)

sol avatar sol commented on June 2, 2024

Read up on yaml syntax ;)

Sent from mobile

On 11 Sep 2016, at 12:45 PM, Harendra Kumar [email protected] wrote:

Something like this in hpack.yaml description field:

a
.
b
Gets collapsed to this in .cabal:
a . b

So everything becomes a single line. Is there something that I am missing or that's how it works?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

from hpack.

sol avatar sol commented on June 2, 2024

closing this

from hpack.

harendra-kumar avatar harendra-kumar commented on June 2, 2024

@sol Alright, on a quick read it seems we can use '\n' as an escape, or a block indicator '|' or '|-' to insert blocks with newlines. Will it be a good idea to add a short note in the description field help?

Also, I looked at the hpack examples at the beginning of the readme and none of them had a description field which was preserving newlines. We should add an example which shows this. It will help others facing the same problem. We cannot assume everyone to be an expert in YAML.

from hpack.

sol avatar sol commented on June 2, 2024

Pull request please

Sent from mobile

On 12 Sep 2016, at 1:55 AM, Harendra Kumar [email protected] wrote:

@sol Alright, on a quick read it seems we can use '\n' as an escape, or a block indicator '|' or '|-' to insert blocks with newlines. Will it be a good idea to add a short note in the description field help?

Also, I looked at the hpack examples at the beginning of the readme and none of them had a description field which was preserving newlines. We should add an example which shows this. It will help others facing the same problem. We cannot assume everyone to be an expert in YAML.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

from hpack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.