Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- A quick demo of Diff syntax trickery.
- For both past and present writefriends alike.
- > Greentexting works natively
- >Irrespective of spacing between arrows
- >> And also works with multiple > arrows
- >>> Even three
- >>>> Anything after three is A-OK too
- >>>>> (Not that you'd want to, but it's there)
- + It also greenlines for plus signs
- ++ For reasons obvious to anyone who works with diffs
- +++ Note the different rendering at three pluses
- < But!
- << You can also redtext with backwards arrows
- <<< Even the third set
- <<<< Otherwise, all the same rules apply
- - Ditto for minuses
- -- Again, obvious for diff jugglers
- --- Again, third set of minuses is different
- @ More than one ampersand will also create another colour:
- @@ Like this!
- @@@@@@@@ I normally use this for line breaks,
- @@@@@@@@ But do with it what you will!
- ! Exclamation marks also render differently
- !! This one is more editor specific however;
- !!! Pastebin renders all exclaims as blue
- !!!! But some editors only render with the one
- !!!!! YMMV
- * asterisks normally don't render
- ** in the pastebin syntax highlighter
- *** until the third set
- **** after this, some editors do highlight asterisks beyond this point
- ***** not often used, but fun nonetheless
- Strangely, whitespace does render differently on some platforms
- But not on Pastebin
- This one is probably more trouble than it's worth
- Best to leave that highlighting out, if possible
- ==== And some final
- % Editor-specific non-Pastebin
- 1 Highlighting oddities
- @@@@@@@@@@@@@@@@
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement