Since almost every member of the community Codeforces know how to write programs, we decided to abandon the wysiwyg HTML editor, and introduce a geek method. Of course, technical texts will gain much more convenient, and text will look uniform.
Now we use modified Markdown as a markup language for blog posts and comments. Since we use an additional extensions, we called markup simply Codeforces Markup. Codeforces custom tags are available in the editor, I will publish a description of the rest here a little later. In a few words it looks like simplified previous version — double square brackets are replaced by single square bracket.
In addition, we improved typography posts and comments.
See description Markdown using the links:
- http://en.wikipedia.org/wiki/Markdown
- http://daringfireball.net/projects/markdown/syntax
- http://bywordapp.com/markdown/syntax.html
Here's a short list of features:
- insert user handle (use
~tourist
); - italic and bold;
- inline code —
return a == 0 ? b : gcd(b % a, a);
(place it between `); - numerated, unnumerated and nested lists;
- headers;
- autocorrection hyphens with dashes;
- smart URL detection (makes them to be links) http://codeforces.com/;
- tables and images;
- source code highlighting;
- "smart" quotes;
- separate paragraphs with a blank lines;
- special Codeforces tags;
- insert photos like
[photoalbum:PicasaPublicAlbumURL]
; - and much more!
I recall that on Codeforces implement preview, so you do not need crazy experiments on the Markdown in comments:)