Comments (7)
Would be possible – just curious: why you would need it?
from webpages-to-ebook.
just curious: why you would need it?
I can't understand YAML. Tried many times already.
from webpages-to-ebook.
You mean, you don't know how to edit it?
from webpages-to-ebook.
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.
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.
Also, if I remember correctly, json is also valid yaml (except probably comments).
from webpages-to-ebook.
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)
- Link title with URL HOT 1
- Complete Works? HOT 25
- Error on parsing. Skipping file. HOT 7
- library_of_scott_alexandria.epub HOT 1
- question about the readability module dependency: mozila or luin ? HOT 2
- Just a big thanks for this project HOT 1
- Table Of Contents? HOT 2
- Add publication date?
- Modify settings in Yaml HOT 1
- TypeError on Windows HOT 1
- TypeError: Cannot read property 'length' of undefined (book.content.length) HOT 1
- TypeError: Cannot read property 'toString' of undefined (data.toString()) HOT 4
- Check for prerequisites
- Filter out hidden open threads? HOT 4
- June 2020 update? HOT 4
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 webpages-to-ebook.