Code

Some testing for different styles used in syntax highlighting and preformatted blocks.

Inline Code

This is some very long inline code. Where does it wrap?

What about wrapping short inline code if multiple sections are written side by side?

What about wrapping short inline code if multiple sections are written side/by/side?

What about wrapping long inline code if multiple sections are written side567 by34567 side567?

What about wrapping long inline code if multiple sections are written side567/by34567/side567?

Can we just use a simple HTML element ?

Block Code

Code fences without any selected language
{
  "well": "some JSON in codefences in here"
}
{
  "well": "some JSON in HTML elements here"
}
{
  "well": "Code fences with non existing language"
}

Block Preformatted

Some preformatted stuff with markdown indentation
Some preformatted stuff in HTML elements

Nested Shortcode

1 Shortcode

%%

1{
2  "Hello": "World" "Hello": "World" "Hello": "World"
3}

<>

1{
2  "Hello": "World" "Hello": "World" "Hello": "World"
3}

2 Shortcodes

%% %%

<p>{
&ldquo;Hello&rdquo;: &ldquo;World&rdquo; &ldquo;Hello&rdquo;: &ldquo;World&rdquo; &ldquo;Hello&rdquo;: &ldquo;World&rdquo;
}</p>

%% <>

{
  "Hello": "World" "Hello": "World" "Hello": "World"
}

<> %%

1<p>{
2&ldquo;Hello&rdquo;: &ldquo;World&rdquo; &ldquo;Hello&rdquo;: &ldquo;World&rdquo; &ldquo;Hello&rdquo;: &ldquo;World&rdquo;
3}</p>

<> <>

1{
2  "Hello": "World" "Hello": "World" "Hello": "World"
3}

3 Shortcodes

%% %% %%

1<p>{
2&ldquo;Hello&rdquo;: &ldquo;World&rdquo; &ldquo;Hello&rdquo;: &ldquo;World&rdquo; &ldquo;Hello&rdquo;: &ldquo;World&rdquo;
3}</p>

%% %% <>

1{
2  "Hello": "World" "Hello": "World" "Hello": "World"
3}

%% <> %%

1<p>{
2&ldquo;Hello&rdquo;: &ldquo;World&rdquo; &ldquo;Hello&rdquo;: &ldquo;World&rdquo; &ldquo;Hello&rdquo;: &ldquo;World&rdquo;
3}</p>

%% <> <>

1{
2  "Hello": "World" "Hello": "World" "Hello": "World"
3}

<> %% %%

1<p>{
2&ldquo;Hello&rdquo;: &ldquo;World&rdquo; &ldquo;Hello&rdquo;: &ldquo;World&rdquo; &ldquo;Hello&rdquo;: &ldquo;World&rdquo;
3}</p>

<> %% <>

1{
2  "Hello": "World" "Hello": "World" "Hello": "World"
3}

<> <> %%

1<p>{
2&ldquo;Hello&rdquo;: &ldquo;World&rdquo; &ldquo;Hello&rdquo;: &ldquo;World&rdquo; &ldquo;Hello&rdquo;: &ldquo;World&rdquo;
3}</p>

<> <> <>

1{
2  "Hello": "World" "Hello": "World" "Hello": "World"
3}

With Wrap

LineNo Table

1
2
3
# Quicksort Python One-liner
lambda L: [] if L==[] else qsort([x for x in L[1:] if x< L[0]]) + L[0:1] + qsort([x for x in L[1:] if x>=L[0]])
# Some more stuff

LineNo Inline

1# Quicksort Python One-liner
2lambda L: [] if L==[] else qsort([x for x in L[1:] if x< L[0]]) + L[0:1] + qsort([x for x in L[1:] if x>=L[0]])
3# Some more stuff

No LineNo

# Quicksort Python One-liner
lambda L: [] if L==[] else qsort([x for x in L[1:] if x< L[0]]) + L[0:1] + qsort([x for x in L[1:] if x>=L[0]])
# Some more stuff

No Type

# Quicksort Python One-liner
lambda L: [] if L==[] else qsort([x for x in L[1:] if x< L[0]]) + L[0:1] + qsort([x for x in L[1:] if x>=L[0]])
# Some more stuff

Without Wrap

LineNo Table

1
2
3
# Quicksort Python One-liner
lambda L: [] if L==[] else qsort([x for x in L[1:] if x< L[0]]) + L[0:1] + qsort([x for x in L[1:] if x>=L[0]])
# Some more stuff

LineNo Inline

1# Quicksort Python One-liner
2lambda L: [] if L==[] else qsort([x for x in L[1:] if x< L[0]]) + L[0:1] + qsort([x for x in L[1:] if x>=L[0]])
3# Some more stuff

No LineNo

# Quicksort Python One-liner
lambda L: [] if L==[] else qsort([x for x in L[1:] if x< L[0]]) + L[0:1] + qsort([x for x in L[1:] if x>=L[0]])
# Some more stuff

No Type

# Quicksort Python One-liner
lambda L: [] if L==[] else qsort([x for x in L[1:] if x< L[0]]) + L[0:1] + qsort([x for x in L[1:] if x>=L[0]])
# Some more stuff