Hello World!

Hello World

Heading 2

Emphasis

Italics

Bold

Strikethrough

List

Ordered

  1. First item
  2. Second item

Unordered

  • First item
    • Item 1.1
      • Item 1.1.1

TODO

  • Write code

Images

截屏2020-07-05 14.14.29

Emojis

See the Emoji cheat sheet for available emoticons.

Example:

I : heart : Academic : smile :

I ❤️ Academic 😄

Quote

Block quote

> This is a blockquote.

This is a blockquote

Highlight quote

This is a highlighted quote.

This is a highlighted quote.

Footnotes

I have more 1 to say.

Diagrams

Flowchart

graph TD;
  A-->B;
  A-->C;
  B-->D;
  C-->D;

Sequence diagram

sequenceDiagram
  participant Alice
  participant Bob
  Alice->John: Hello John, how are you?
  loop Healthcheck
      John->John: Fight against hypochondria
  end
  Note right of John: Rational thoughts <br/>prevail...
  John-->Alice: Great!
  John->Bob: How about you?
  Bob-->John: Jolly good!

Create diagram using draw.io

  1. Create diagram in draw.io
  2. Embed in Academic by choosing File > Embed > SVG in the draw.io editor and pasting the generated code into your page.

Code highlighting

print('Hello World!')

Math

Inline math: $\nabla F(\mathbf{x}_{n})$

Math block: $$ \gamma_{n} = \frac{ \left | \left (\mathbf x_{n} - \mathbf x_{n-1} \right )^T \left [\nabla F (\mathbf x_{n}) - \nabla F (\mathbf x_{n-1}) \right ] \right |} {\left |\nabla F(\mathbf{x}_{n}) - \nabla F(\mathbf{x}_{n-1}) \right |^2} $$

$$ \begin{aligned} x &= (3 * 4) + 5 \\
&= 12 + 5 \\
&= 17 \end{aligned} $$

Table

Command Description
hugo Build your website.
hugo serve -w View your website.

Asides

Asides are a useful feature that add side content such as notes, hints, or warnings to your articles. They are especially handy when writing educational tutorial-style articles or documentation.

Note

A Markdown aside is useful for displaying notices, hints, or definitions to your readers.

Warning

Here’s some important information…

  1. Footnote example ↩︎

Haobin Tan
Haobin Tan
Computer Science Student

Keep It Simple Stupid!