Hacker News new | ask | show | jobs
by falsedan 3586 days ago
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 link	drool code	There is @@ a link to @@ ./demo.webp https://www.google.com/ncr.
  	result	There is @@a link to @@./demo.webp https://www.google.com/ncr.
  to align right	drool code	--- hello
  		—— 你好
  	result	---hello
  		——你好
  “smart” retract	#include <iostream>
  	
  	int main(){
  		std::cout << "Hello World!" << std::endl;
  		return 0;
  }
I'll pass.

edit oops I messed up the tabs.

2 comments

This would be the output if my version of Chrome (latest) was able to run it:

https://github.com/dou4cc/drool/blob/gh-pages/screenshot.en....

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.
It is 31ch.....