README.rdoc in markitup_rails-0.1.1 vs README.rdoc in markitup_rails-0.2.0

- old
+ new

@@ -44,10 +44,35 @@ $(document).ready(function(){ $("textarea").markItUp(myMarkdownSettings); }); +== BBCode + + /* app/assets/stylesheets/application.css */ + /* the following directives will include the markitup CSS */ + /* the skins/markitup CSS will define how the text area will look */ + /* the sets/bbcode CSS defines the bbcode-specific buttons */ + + /* + *= require skins/markitup/style.css + *= require sets/bbcode/style.css + */ + + // in app/assets/javascripts/application.js + + // include the main MarkItUp javascript + //= require jquery.markitup + + // include a set, which defines the javascript rules for the particular parser. BBCode is included with this: + // The sets/bbcode/set.js file will define a Javascript variable called "myBBCodeSettings". + //= require ./sets/bbcode/set.js + + $(document).ready(function(){ + $("textarea").markItUp(myBBCodeSettings); + }); + == HTML /* app/assets/stylesheets/application.css */ /* the following directives will include the markitup CSS */ /* the skins/markitup CSS will define how the text area will look */ @@ -83,18 +108,19 @@ * Commit and push until you are happy with your contribution * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally. * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it. == Contributors -* {Ze Jin}:[http://www.jinze.info/] +Ze Jin, http://www.jinze.info/ + == License Dual licensed under the MIT and GPL licenses. markItUp! Universal MarkUp Engine, JQuery plugin v 1.1.x Copyright (C) 2007-2011 Jay Salvat http:markitup.jaysalvat.com/ markitup_rails Copyright (C) 2011 Jeff Wigal -http://dropkickstudios.com \ No newline at end of file +http://dropkickstudios.com