Giter Site home page Giter Site logo

Comments (7)

georgjaehnig avatar georgjaehnig commented on May 26, 2024

Would be possible – just curious: why you would need it?

from webpages-to-ebook.

vinipsmaker avatar vinipsmaker commented on May 26, 2024

just curious: why you would need it?

I can't understand YAML. Tried many times already.

from webpages-to-ebook.

georgjaehnig avatar georgjaehnig commented on May 26, 2024

You mean, you don't know how to edit it?

from webpages-to-ebook.

vinipsmaker avatar vinipsmaker commented on May 26, 2024

I don't know how to write YAML. I always copy'n'paste an example and change stuff to suit my needs.

Every time I try to really study the format, it looks easy on the first rules, but the rules escalate pretty quickly and the understanding on my head gets all messed up. JSON has a pretty small and understandable set of rules that you can hold in your head all at once. That doesn't happen with YAML.

from webpages-to-ebook.

georgjaehnig avatar georgjaehnig commented on May 26, 2024

Well, the data structure in the definitions is very simply, it's not going deep at all. I know that YAML has some weird rules e.g. for multi-line strings but there are none of these in the definition files.

Have a look at https://github.com/georgjaehnig/webpages-to-ebook/blob/master/definitions/paulgraham.yml

from webpages-to-ebook.

sukiletxe avatar sukiletxe commented on May 26, 2024

Also, if I remember correctly, json is also valid yaml (except probably comments).

from webpages-to-ebook.

georgjaehnig avatar georgjaehnig commented on May 26, 2024

Yup, seems so:

making YAML 1.2 a superset of JSON.

So you simply write JSON into the YAML files.

I'm closing this.

from webpages-to-ebook.

Related Issues (16)

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.