PASTEDOWN   245   5
   2393 17.33 KB    566

Pastedown Experiments (New)

By HK-FortySeven
Created: 2021-08-18 23:39:28
Updated: 2021-08-28 14:13:12
Expiry: Never

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.
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
Inline images Write as !(Text if image unavailable)[Image URL] /mlp/ SFW rules apply, see site rules Ponepaste ko-fi image
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
<There's also redtext with the backwards arrow
@And purpletext with an ampersand
>All formatting rules continue to apply
<All formatting rules continue to apply
@All formatting rules continue to apply

Lists

  • Bullet lists are started like so
  • Additional points are added in similar fashion
    But not adding a new bullet point will add the next line(s) to the previous point
    • Bullet points can be nested
      • All formatting rules continue to apply
        Bullet points can be broken with two newlines

Like so

  1. Ordered lists work the same way
  2. Down to the added points
    And additional details
    1. And nesting
      1. Arbitrary numbers can be used instead of 1 to start the list off
        1. But subsequent entries can only increment the list, never decrement it
          All formatting rules continue to apply
          Ordered lists can be broken with two newlines

Like so

Code Blocks

Begin with three backticks on the previous line
Notice that all of a sudden, the normal Markdown rules about needing two spaces after each line no longer apply
End it with three backticks on the following line

Old guide text from 2021/08/18@23:00 AST (UTC-4):

Greentext

>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 forced newlines

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

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
<using text colour no longer requires two spaces after each line
<if this is a bug, it's an amazing bug to have
@using text colour no longer requires two spaces after each line
@if this is a bug, it's an amazing bug to have

colour banding weeeeeeeeeeee

><@><@><@><@><@><@><@><@><@><@eeeee
<@><@><@><@><@><@><@><@><@><@>eeeee
@><@><@><@><@><@><@><@><@><@><eeeee
>>>>>>>>>>@@@@@@@@@@<<<<<<<<<<aeiou
@@@@@@@@@@<<<<<<<<<<>>>>>>>>>>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
@<testing text colour
>testing text colour

testing >text colour testing text >colour

<testing text colour

testing <text colour testing text <colour

@testing text colour

testing @text colour
testing text @colour

Linkification works as expected: https://ponepaste.org/raw/5493
I strongly recommend to open the raw version of this paste side by side with the normal version

Newlines require two spaces at the end of each sentence to delineate a newline
Exactly like Markdown does
If you don't Your lines end up Looking like This instead

>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

<Testing if redtext works at all

If it does, test for the same behaviour

>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
<If it does, test for the same behaviour

Greentext arrows insert a newline before it if there isn't a preceding newline already, as shown above

Headings work as expected

They don't require doublespace at the end

But you should include it anyways

Because of the fucky nature of Markdown

Allow me to pad this out further
To see how deep the heading depth goes

####### Look into my headings
######## You are getting sleepy

  • Bulletpoints are also supported
  • Either a single plus, minus, or an asterisk can be used for them
    You must prepend one of those to add an entry to the bullet list
    Otherwise it's considered as part of the same bullet entry
    As with the greentext, two newlines breaks this

Allowing you to once again enter text normally

  • Testing nested lists

    • Testing nested lists
      • Testing nested lists
  • Testing bullets

  • with asterisks
    with more detail

    • with nesting
      with nested detail
      • with nesting
        with nested detail
  • Testing bullets

  • with minuses
    with more detail

    • with nesting
      with nested detail
      • with nesting
        with nested detail

Italics works exactly like it does in Markdown
It can be started and stopped at any point in the line

Bolding works exactly like it does in Markdown
It can be started and stopped at any point in the line

Bolding and italics works exactly like it does in Markdown
It can be started and stopped at any point in the line
Italics can be separated out but the bolding can't be, so be aware of that

Code/Verbatim blocks are also here
They work just like bolding and can be stopped and started wherever

Testing codeblock multi-line spanning Testing codeblock multi-line spanning
It works, but it doesn't respect doublespace newlines

Testing if italics exist in Pastedown
Yes, bold-italics do exist in Pastedown
Testing for only italics in Pastedown

  1. Testing ordered lists
    Testing extra list detail
  2. Testing ordered lists
  3. Testing ordered lists
    1. Testing nested ordered lists
      1. Testing funky nesting order
        1. Testing funky nesting order

Testing single-backquote codeblocks

Testing minus pagebreaks


testing spanning codeblock
int void {
    gayniggers.from(outer.Space)
}

Testing footnotes 1

Testing definitions
term
definition

Testing strikethrough

  • [x] Testing task list
  • [ ] Testing task list
  • [ ] Testing task list
  • [x] Testing task list
Testing Tables
Tables Tested
Testy Tables
Testing Tables Even More
>green test <red test @purple test plain test
black test huwite test pink test >pastrami sandwich test
all kinds of testing all kinds of testing i love every kind of testing yeah

Testing URL embedding
Markdown

Testing image embedding
Ponepaste libera image Ponepaste ko-fi image

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
<Redtext
@Purpletext

**boldtext
--Thin wireframe
++Thick wireframe

Big heading

Smaller heading

Same smaller heading

Ad infinitum

Line break


Bold continues to infinity regardless of enclosing or breaks like here
++Same is true++ of other styles
-- Same is true -- of other styles
As a result:

>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 <abruptly from anywhere Highlighting can start @abruptly from anywhere
Highlighting can start **abruptly from anywhere
Highlighting can start --abruptly from anywhere
Highlighting can start ++abruptly from anywhere

>Markup experimentation

// test
\ test
|| test
test
!! test
"" test

test

$$ test
££ test
%% test
^^ test
&& test
: test ;; test
,, test
.. test
?? test
~~ test
== test
[[ test ]]
{{ test }}
(( test ))

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

@@@@@@@@@@@@@@@@

  1. <p>The footnote test &#160;<a href="#fnref1:1" rev="footnote" class="footnote-backref">&#8617;</a></p>

Thaumaturgy With Anon [1/?]

by HK-FortySeven

Thaumaturgy With Anon [2/?]

by HK-FortySeven

Thaumaturgy With Anon [3/?]

by HK-FortySeven

Thaumaturgy With Anon [4/?]

by HK-FortySeven

Thaumaturgy With Anon [5/?]

by HK-FortySeven