code_junkie

How do you store the markdown using WMD in ASP.NET?

Nov 11th, 2011
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. **boldtext**
  2.  
  3. <b>boldtext</b>
  4.  
  5. wmd_options = {"output": "Markdown"};
  6.  
  7. wmd.wmd_env.output = 'markdown';
  8.  
  9. ...
  10. wmd.ieCachedRange = null; // cached textarea selection
  11. wmd.ieRetardedClick = false; // flag
  12.  
  13. wmd.wmd_env.output = 'markdown'; // force markdown output
  14.  
  15. // Returns true if the DOM element is visible, false if it's hidden.
  16. // Checks if display is anything other than none.
  17. util.isVisible = function (elem) {
  18. ...
Add Comment
Please, Sign In to add comment