GreenCloth changes

I made some important changes to GreenCloth. (GreenCloth is the library that does the text to html conversion. It is based on RedCloth, which is based on Textile)

Lines are broken whenever you type a return:

Here are
a bunch of
very short lines.

Previously, you had to end the line with a space to break the line, which was weird. The new system is much more wysiwyg. There are a lot debates about this between various lightweight text markup languages, but I think this new behavior is less confusing for the new user.

Also, indenting a paragraph turns it into a block quote, which is what you would expect:

This is a very fine blockquote. Do you like it?

Code can now be put in blocks surrounded by < code >

# rm -rf /

The recognition of autolinks is greatly improved and now links will not be subject to automatic formatting (it used to be that a url that had something /*like/this*/ would turn bold).

Lastly, I have added dictionary definitions, which looks like a hanging indent but are rendered using html DL. You make a definition by indenting with spaces the continuing paragraph lines after the first:

dictionary title
dictionary definition

that is all for now.

 

Everyone can benefit from and learn from this. Don’t stop updating your blog. Your help is greatly appreciated. Again, I appreciate you giving it to me. free games

 
   

Five Nights at Freddy’s ( Fnaf ) is a thrilling and suspenseful horror game that challenges players to survive the night while being pursued by animatronic creatures.