Hello Jekyll!

This first post is only for testing.

Basics

This part is about some simple usage of Markdown grammar. i.e.

H1

H2

H3

H4

H5
H6
# H1
## H2
### H3
#### H4
##### H5
###### H6

bold, strong

italic, emphasis

bold and italic

Delete

list:

  1. one
  2. two
  3. three
    • subone
    • subtwo
**bold, strong**

*italic, emphasis*

***bold and italic***

~~Delete~~

1. one
2. two
3. three
 - subone
 - subtwo

in order to quote some text; every line starts with >

Footnotes

basic footnote1 and another one2 and another one3

Equations

Simple inline: $a^2 = b^2 + \frac{d}{\sqrt{c}}$. This is an example for $x_mu$ and $y_mu$. Display

\[\frac{\partial u}{\partial t} = h^2 \left( \frac{\partial^2 u}{\partial x^2} + \frac{\partial^2 u}{\partial y^2} + \frac{\partial^2 u}{\partial z^2}\right)\]

Aligning equations \(\begin{aligned} \dot{x} & = \sigma(y-x) \\\ \dot{y} & = \rho x - y - xz \\\ \dot{z} & = -\beta z + xy \end{aligned}\)

Equations with numbering \(\begin{equation}\label{2.1} \begin{split} a =& b+c-d \\\ & {}+e-f \\\ =& g+h \\\ =& i \end{split} \end{equation}\)

Equations with cases \(f(n) = \begin{cases} \frac{n}{2}, & \text{if $n$ is even} \\\ 3n+1, & \text{if $n$ is odd} \end{cases}\)

Codes

$ jekyll new blog
/**
 * @author John Smith <[email protected]>
*/
package l2f.gameserver.model;

public abstract class L2Char extends L2Object {
  public static final Short ERROR = 0x0001;

  public void moveTo(int x, int y, int z) {
    _ai = null;
    log("Should not be called");
    if (1 > 5) { // wtf!?
      return;
    }
  }
}
@decorator(param=1)
def f(x):
    """ Syntax Highlighting Demo
        @param x Parameter

        Semantic highlighting:
        Generated spectrum to pick colors for local variables and parameters:
         Color#1 SC1.1 SC1.2 SC1.3 SC1.4 Color#2 SC2.1 SC2.2 SC2.3 SC2.4 Color#3
         Color#3 SC3.1 SC3.2 SC3.3 SC3.4 Color#4 SC4.1 SC4.2 SC4.3 SC4.4 Color#5
    """
    s = ("Test", 2 + 3, {'a': 'b'}, f'{x!s:{"^10"}}')  # Comment
    f(s[0].lower())


class Foo:
    tags: List[str]

    def __init__(self: Foo):
        byte_string: bytes = b'newline:\n also newline:\x0a'
        text_string = u"Cyrillic Я is \u042f. Oops: \u042g"
        self.makeSense(whatever=1)

    def makeSense(self, whatever):
        self.sense = whatever


x = len('abc')
print(f.__doc__)


def bubble_sort(items):
    """ Implementation of bubble sort """
    for i in range(len(items)):
        for j in range(len(items) - 1 - i):
            if items[j] > items[j + 1]:
                # Swap!
                items[j], items[j + 1] = items[j + 1], items[j]

  1. basic footnote content 

  2. paragraph 

  3. footnote content with some markdown