# Pastedown Syntax Experiments ### (And a personal guide on how to use it) ##### Last tested: 2021/08/28@11:00 AST (UTC-4) ___ ### Warning: This shit is experimental, and is very likely to change at any time. #### Use experimental formatting at your own risk! ___ Pastedown follows Markdown convention of needing two spaces at the end of each line of text. If you don't have the two spaces at the end. Your text will look like this. Absolutely no spacing at all. This rule doesn't apply to headings, horizontal lines, code blocks, or tables. Most Markdown rules apply, and the test text reflects that; [Markdown rules can be found here.](https://www.markdownguide.org/cheat-sheet) Or here, if the link above doesn't work: https://www.markdownguide.org/cheat-sheet ___ | Format | Usage | Notes | Example | | --- | --- | --- | --- | | Greentext | Begin line with ` > ` | Only works at the start of a line, can't use in a table | **See end of table** | | Redtext | Begin line with ` < ` | Only works at the start of a line, can't use in a table | **See end of table** | | Purpletext | Begin line with ` @ ` | Only works at the start of a line, can't use in a table | **See end of table** | | Horizontal Line | Begin line with at least 3 minuses ` - ` or underscores ` _ ` | Using minuses directly under text will instead create a heading, see next entry \/ | See above table | | Headings | Begin line with 1-6 ` # `, using more pound signs for smaller headings | Limit of 6 before formatting breaks | See above table | | Italics | Quote text with ` * ` | Will span multiple lines until terminated | *Sample Text* | | Bold | Quote text with ` ** ` | Will span multiple lines until terminated | **Sample Text** | | Bolded Italics | Quote text with ` *** ` | Will span multiple lines until terminated | ***Sample Text*** | | Inline Code | Quote text with ` ` ` or ` `` ` | Will span multiple lines until terminated | ``Sample Text`` | | Code Block | Begin and end a group of lines with ` ``` ` | Will span multiple lines until terminated | **See end of table** | | Strikethrough | Quote text with ` ~~ ` | Will span multiple lines until terminated | ~~Sample Text~~ | | Hyperlinks | Write as `` [Link text](URL) `` | Follow site rules regarding links | [Ponepaste ko-fi](https://ko-fi.com/V7V02K3I2) | | Inline images | Write as `` !(Text if image unavailable)[Image URL] `` | /mlp/ SFW rules apply, see site rules | ![Ponepaste ko-fi image](https://ponepaste.org/img/kofi.png) | | Bullet list | Begin line with ` + `, ` - `, or ` * ` | Continues spanning until broken with two newlines | **See end of table** | | Ordered list | Begin line with ` 1. ` or another number | Continues spanning until broken with two newlines | **See end of table** | | Tables | Columns with ` | ` | Nothing to add | Nigger, you're reading one right now | ___ #### Greentext >Greentext works exactly like you would expect >Apply quote arrows to the beginning of your text, and go hog wild All *formatting* **rules** ***continue*** ``to`` ~~apply~~ Greentext initiated like normal greenline or Markdown quote It deletes quote arrows; the above line started with ` > ` All *formatting* **rules** ***continue*** ``to`` ~~apply~~ Greentext continues to greenify all of your text until broken with two newlines Like so ### Green Lists Greentext colouring can apply to lists as well: > Start with greentext, + Then begin your list, + + And you're off to the races 1. Works the same on ordered lists 2. Both greentext and the list can be broken with two newlines Like so ___ ___ ___ ___ ___ ## Old, pre-tables prose guide begins: Pastedown works as an extension to Markdown, so if you don't know Markdown, brush up on it here: https://www.markdownguide.org/cheat-sheet I'll cover the features anyways, but the most important thing to remember is this: **Always end your lines with two spaces.** Because if you don't, Your lines of text. Will look like this. Instead of what. You actually intended. ___ Greentext works, but not the way you're used to in standard greentext formatting. You start a greentext block the usual way, with a > symbol, like so: >Note that the symbol doesn't actually show up, but the text is green regardless. From this point on, barring normal Markdown formatting, *all* of your text is green, whether you use quote arrows or not. You can stop your text from being green by using two newlines: And text will stop being green. ___ Line breaks, as you've already seen, are inserted with at least three underscores (_). ___ You can bold or italicize your text using asterisks (`*`), using them like quotation marks to format the text. *One set of asterisks will italicize,* **Two sets will bold,** ***Three sets will do both.*** You can also insert monospace text, or code blocks, using backticks (`` ` ``) in the same way: ``Break out the ye olde ASCII art!`` `Single backticks work just like double backticks, but don't wrap to one another.` ```Triple backticks also work.``` You can insert *any* kind of formatting **on a single line,** as many times ***as you want,*** for however ``long you want``. > It also works in greentext: You can insert *any* kind of formatting **on a single line,** as many times ***as you want,*** for however ``long you want``. ___ Headings can be inserted by beginning a line with one to five pound signs (#). # The more you use, ## The smaller the heading becomes. ### And at the smallest size, #### It's not too different from normal bold text, ##### As seen right here. ___ You can also create bullet-point lists in Pastedown, by starting a line with either a plus (+), minus (-), or an asterisk (*); + Lists look like this. + Keep adding bullets with the right symbol, Or don't, and keep adding to the previous bullet point. + You can also nest bullet points, + + Just like so. + + + All rules about formatting *still* **apply**, ***so*** ``go`` nuts. Once you're done with the bullet list, two newlines will break it, just like with greentext. Like so. > Speaking of greentext, bullet lists can also be greentexted: - Like so. All the same rules apply, - - Down to the nesting, - - - And *the* **copious** ***formatting*** ``options``. Break both with two newlines. Like so. ___ ___ ___ ___ ___ ### The not-guide portion is over now. ### Raw testing text follows: testing for newfags  ▴ ▴ ▴ testing formatting spacing weirdness *testing formatting spacing weirdness* **testing formatting spacing weirdness** ***testing formatting spacing weirdness*** ~~testing formatting spacing weirdness~~ test text #### Testing heading spacing test text test text #### Testing heading spacing test text >test text #### Testing heading spacing >test text testing forced newlines >testing forced newlines testing forced newlines testing for greentext breakup between tons of newlines testing for greentext breakup between tons of newlines >using text colour no longer requires two spaces after each line >if this is a bug, it's an amazing bug to have <@><@><@><@><@><@><@><@><@><@eeeee <@><@><@><@><@><@><@><@><@><@>eeeee @><@><@><@><@><@><@><@><@><@>>>>>>>>>>@@@@@@@@@@<<<<<<<<<>>>>>>>>>aeiou <<<<<<<<<<>>>>>>>>>>@@@@@@@@@@aeiou >testing text colour @testing text colour <>testing text colour <@testing text colour @>testing text colour @testing text colour testing >text colour testing text >colour Greentext highlight works, but none of the arrows show up, presenting as green-coloured normal text >Also, geentext highlight continues to infinity Regardless of quote arrows *or conflicting formatting* **or conflicting formatting** ***or conflicting formatting*** ``or conflicting formatting`` The only thing that breaks it Is a double newline If it does, test for the same behaviour @If it does, test for the same behaviour @Testing if purpletext works at all If it does, test for the same behaviour >If it does, test for the same behaviour green test | pastrami sandwich test | | all kinds of testing | all kinds of testing | i love every kind of testing | yeah | Testing URL embedding [Markdown](https://www.markdownguide.org/cheat-sheet) Testing image embedding ![Ponepaste libera image](https://ponepaste.org/img/lib.png) ![Ponepaste ko-fi image](https://ponepaste.org/img/kofi.png) Testing pagebreak creation threshold: _ __ ___ ____ _____ ______ ___ More experiments pending Previous experiments with Pastedown's old syntax highlighting follow Doublespace edited so they actually display correctly in the new Pastedown https://ponepaste.org/620 ___ >Greentext Cannot combine highlighting **with bolding** or --any-- other ++formatting++ < Cannot combine highlighting **with bolding** or --any-- other ++formatting++ @ Cannot combine highlighting **with bolding** or --any-- other ++formatting++ On a regular nonhighlighted line, Highlighting can start >abruptly from anywhere Highlighting can start Markup experimentation // test \\ test || test `` test `` !! test "" test ## test $$ test ££ test %% test ^^ test && test :: test ;; test ,, test .. test ?? test ~~ test == test [[ test ]] {{ test }} (( test )) !highlight!Not related to Pastedown, just experimenting with the "Highlight" button ___ Diff syntax highlighting experiments copypasted here for comparison's sake Again, doublespace edited so the lines actually display correctly https://pastebin.com/TBwtEhAJ https://pastebin.com/raw/TBwtEhAJ ___ 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 @@@@@@@@@@@@@@@@