What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 128 Stack Exchange communities.

Here's the source

    $(function(){

    }); 

is [jQuery][1] (a Javascript library) shorthand for:

    $(document).ready(function(){

    });

It is what you use to do with `` but more sophisticated. You can 
get a fuller explanation [here][2].

  [1]: http://www.jquery.com
  [2]: http://docs.jquery.com/Tutorials:Introducing_$(document).ready()

Here's the output

$(function(){

}); 

is jQuery (a Javascript library) shorthand for:

$(document).ready(function(){

});

It is what you use to do with <body onload="xxx"> but more sophisticated. You can get a fuller explanation here.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

The sanitizer doesn't like the non-encoded $ remaining in the URL. I added it to the list of characters encoded in EncodeProblemUrlChars()

http://code.google.com/p/markdownsharp/source/detail?r=110

Note that the javascript preview in showdown.js can't deal with the parens in the link, but the server-side version can.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .