albinoloverats ~ Software Development

Home
Skip to main content
Welcome Unknown Crawler
You can lie, but your boner can't.

Markdown Code Formatting

User Gravitar
Unassociated
Assigned to Ashley
Raised by Ashley on 2012-11-02
Severity: Bug (Minor)
Attachments: None
Need to check that the code syntax highlighting works now that we're using Markdown instead of BBCode.

A quick bit of HTML:
  1.  
  2.   Some italic html text
  3.   Link to example.com.

Next some C:
  1. if (5 == a)
  2.   fprintf(stdout, "a = 5 ; z = %sn", z);

If that much works, we should be pretty confident GeSHi can cope with anything else.

Untitled Comment #7

On 2012-11-02 Ashley wrote:
User Gravitar

It seems to work:

  1. puts "What's your favorite number?"
  2. number = gets.chomp
  3. output_number = number.to_i + 1
  4. puts output_number.to_s + ' is a bigger and better favorite number.'

(NB To get syntax highlighing, use Github Flavored Markdown)


Untitled Comment #11

On 2012-11-03 Ashley wrote:
User Gravitar

Link.

External link.

This bug has been closed; no more details accepted