4 ms·
Would be harder to parse than JSON, I'd think. Also much more unambiguous with JSON. I do think writeability would be improved by using YAML, though.
by yuvipanda 12y ago
Would be harder to parse than JSON, I'd think. Also much more unambiguous with JSON.
I do think writeability would be improved by using YAML, though.
- adamwong246 12y agoI'm not sure why you'd want to start with json or yaml. Seems like you'd want to start with a document, not a datastore. A datastore would tend to being opinionated and inflexible. What happens when my resume doesn't match a prescribed format? Or what about other documents beyond resumes? And whats with the star bullets? Why mix style with data? What if I want hearts instead of stars? I only mention this cause I'm working on something similar for my resume. I start with markdown and output pdf, html, etc.
- abdullahkhalids 12y agoWhat happens when the code you wrote to parse markdown is unable to understand your new fangled resume material? Then markdown is just as much a datastore as json. The problem is not in json or markdown. It is in the code: your code must be able to understand all reasonable resume material.
- adamwong246 12y agoI don't understand. Why would you write a markdown parser? Theres like a million implementations already. I use https://www.npmjs.org/package/markdown-pdf https://www.npmjs.org/package/markdown-pdf
- grundprinzip 12y agoIn general, I would say you want to have schema. However, both yaml and json lack this. Still I find this a nice approach.
- deleted 12y ago[deleted]
- swcool888 12y agoWhenever need to write docs, such as resume, posts, wiki, and many others, I prefer markdown. I make a chrome extension to read and write markdown file inside browser, and it is easy to convert to pdf. It is available here: https://chrome.google.com/webstore/detail/markview/iaddkimmopgchbbnmfmdcophmlnghkim https://chrome.google.com/webstore/detail/markview/iaddkimmo...