Live data from Hacker News

Drool – A Lightweight Markup Language

github.com

21–30 of 34 posts

Re: Drool – A Lightweight Markup Language

#21

> For details, please visit a demo which requires your browser supporting Element.prototype.append, async functions, WebP, WebM, fetch API, CSS Variables, CSS sticky position, and full of ECMAScript 6. I recommend you use Chromium or Chrome Canary with two flags, chrome://flags/#enable-javascript-harmony and chrome://flags/#enable-experimental-web-platform-features, enabled. Yikes.

Back to "Works Best in IE"? All of these things can be done without using experimental APIs. It may be a few dozen lines longer, but its not worth having to tell people to use Chrome Canary to test your project. As a Firefox user, this is a complete no-go.

At most 1 year later, firefox will support drool. Firefox does not support drool because it does not support async generator function.

Re: Drool – A Lightweight Markup Language

#22
post #7

> Compared with markdown, drool is minimal without signals like [ or !. drool will not make a literary article look like programming codes. looks at demo screenshot > There is @@a link to @@./demo.webp https://www.google.com/ncr

The link content is "a link to @@./demo.webp". "@@./demo.webp" is a picture. Is drool not minimal enough?

Re: Drool – A Lightweight Markup Language

#23
post #12

It's enshrined in the Drool format that every file has to start with a UTF-8 BOM and contain \r\n line breaks? This sounds like favoring one text editor at the expense of all others, and not a good one. Is this format designed to be edited with Notepad ?

No. Adding a utf8 bom is just my hobby.

Re: Drool – A Lightweight Markup Language

#24
post #6

This is what it looks like: * This demo is also a guide when you view the source of this page at the same time. to insert a picture drool code @@ ./demo.jpeg result @@./demo.jpeg to insert an audio and a video drool code @@ ./demo.mp3 @@ https://videos.cdn.mozilla.net/uploads/mozillaorg/Mozilla_2014_i_am.webm result @@./demo.mp3 @@https://videos.cdn.mozilla.net/uploads/mozillaorg/Mozilla_2014_i_am.webm to insert a li…

This file is a mess because there is a table in the file. When making table in a drool file, I recommand you set tab-size to 25ch.

Re: Drool – A Lightweight Markup Language

#28
post #21

Earlier quoted context omitted.

Back to "Works Best in IE"? All of these things can be done without using experimental APIs. It may be a few dozen lines longer, but its not worth having to tell people to use Chrome Canary to test your project. As a Firefox user, this is a complete no-go.

At most 1 year later, firefox will support drool. Firefox does not support drool because it does not support async generator function.

There is no such thing as an "async generator function" in the JavaScript language :) Do you mean generator functions, which Edge and Firefox both support? Or async/await?

I think people are upset because normally when someone shows a project on HN, you expect to be able to run it. It's cool that this is something you have made to test new features, but if you haven't put in the marginal effort to make it usable for most people, it is not really worth posting and the "show HN" could wait until you have time to work on your project.

Post reply on HN