Advertisement
Guest User

EscapeEOL Twee Test

a guest
May 6th, 2013
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. ::EscapeEOL [script]
  2. /* From http://www.glorioustrainwrecks.com/node/5400 - end of line is suppressed with a backslash */.
  3. (function(){
  4. var bs = String.fromCharCode(92);
  5. Wikifier.formatters.unshift({
  6. name: "continuedLine",
  7. match: bs+bs+"s",
  8. handler: function(a) {
  9. a.nextMatch = a.matchStart+3;
  10. }
  11. });
  12. }());
  13.  
  14. ::Start
  15. The following passage will test the EndOfLine escape script
  16.  
  17. [[Do The Test]]
  18.  
  19. ::Do The Test
  20.  
  21. You have \
  22. <<set $cash = "twenty">>\
  23. <<print $cash>>\
  24. dollars.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement