Skip to content

Markdown Syntax

Rendering effect display

Published

Basic Markdown syntax example, from markdown-it demo.

🚧❌🌐πŸ–₯οΈβœ”οΈπŸ›’

h1 Heading

h2 Heading

h3 Heading

h4 Heading
h5 Heading
h6 Heading

Emphasis

This is bold text

This is italic text

bold + italic

Strikethrough

Blockquotes

Blockquotes can also be nested…
bold text
strikethrough
code
link

…by using additional greater-than signs right next to each other…

…or with spaces between arrows.

Lists

Unordered

Ordered

  1. Lorem ipsum dolor sit amet
  2. Consectetur adipiscing elit
  3. Integer molestie lorem at massa

or

  1. You can use sequential numbers…
  2. …or keep all the numbers as 1.

Start numbering with offset:

  1. foo
  2. bar

Indent

  1. Git clone

    git clone https://github.com/ziteh/astro-paper-s.git
  2. Install package

    # npm
    npm install
     
    # pnpm
    pnpm install
  3. Run!

    # npm
    npm run dev
     
    # pnpm
    pnpm run dev

Code

Inline code

Sample text here...

Syntax highlighting

// JaveScript
var foo = function () {
  console.log("Hello World");
};
 
foo();
// C
#include <stdio.h>
 
int main(void){
 printf("Hello, World!\n");
 return 0;
}
// Rust πŸš€
fn main() {
    println!("Hello, world!");
}
this is a very looooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong command

Tables

OptionDescription
datapath to data files to supply the data that will be passed into templates.
engineengine to be used for processing templates. Handlebars is the default.
extextension to be used for dest files.

link text

ref link

Images

Image Caption
Image Caption

Like links, Images also have a footnote style syntax

Ref link
Ref link

With a reference later in the document defining the URL location:

Footnotes

Footnote 1 link1.

Footnote 2 link2.

Duplicated footnote reference2.

KaTex

Inline: 216Γ—2Ξ²2^{16} \times \frac{2}{\beta}

Block:

βˆ‡β‹…E=ρΡ0βˆ‡β‹…B=0βˆ‡Γ—E=βˆ’βˆ‚Bβˆ‚tβˆ‡Γ—B=ΞΌ0(J+Ξ΅0βˆ‚Eβˆ‚t)\begin{aligned} \nabla \cdot \mathbf{E} &= \frac{\rho}{\varepsilon_0} \\ \nabla \cdot \mathbf{B} &= 0 \\ \nabla \times \mathbf{E} &= -\frac{\partial \mathbf{B}}{\partial t} \\ \nabla \times \mathbf{B} &= \mu_0\left(\mathbf{J} + \varepsilon_0 \frac{\partial \mathbf{E}}{\partial t}\right) \end{aligned}

Typography

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas eget sollicitudin eros, non malesuada dolor. Duis bibendum eros ac tellus imperdiet semper. Aenean sodales mauris sed vulputate tempus. Morbi eget diam eleifend ipsum sollicitudin consectetur ac nec turpis. Nam luctus mi faucibus, tincidunt nisi a, maximus neque.3

Pellentesque eu eros est. Donec ac quam sed felis eleifend egestas ac non orci. Curabitur metus enim, rutrum et nunc vel, volutpat iaculis turpis. Vivamus ornare sollicitudin dui non posuere. Curabitur at dui vel urna scelerisque rutrum ut ac augue. Ut bibendum urna quis urna fringilla ultrices.

Vestibulum

Morbi interdum ipsum magna, et ullamcorper tortor dapibus eu. Donec commodo tristique felis non luctus. Donec vel tempor diam. Phasellus ac nulla et erat vehicula pulvinar. Curabitur ac nunc iaculis augue pellentesque consequat id eget justo. Fusce tempor fermentum tellus et dignissim.

Mauris

Nulla interdum, augue nec lobortis scelerisque, est nunc malesuada augue, at consectetur neque turpis nec tellus. Donec quis ligula in tellus tempor porttitor eu quis lorem. Vivamus ac interdum purus, eget congue ex. Curabitur at placerat nisl (Etiam nec metus feugiat), eget semper sapien.

Cras placerat augue eu nunc scelerisque, ac sagittis justo euismod. Vestibulum nec magna in erat interdum sagittis et eget dui. Aliquam placerat, orci sed sollicitudin commodo, eros libero mollis sapien, a egestas turpis mauris nec sem. Curabitur non sodales massa.

Morbi Rutrum Libero

Morbi ultrices nunc ipsum, ut gravida odio laoreet vitae. Quisque ut ornare libero, ut iaculis magna. Nulla in arcu bibendum, faucibus turpis in, egestas nisl. Fusce a accumsan ligula, ut suscipit velit. Duis auctor egestas dui eget efficitur. Proin egestas porttitor leo, eu varius felis consequat in. In congue mauris non tellus pretium posuere.

Vestibulum

Ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; In gravida, nunc sit amet suscipit viverra, turpis massa porttitor quam, in fringilla erat ante ut turpis.

Nunc Et Pretium Velit

Ut aliquet fringilla dolor eu vehicula. Phasellus vel dui finibus, euismod augue eu, mollis magna. Sed ullamcorper dictum nunc sit amet lacinia. Nullam in est orci. Mauris hendrerit mauris sit amet volutpat aliquam. Vivamus in ante ut ligula fermentum mattis id tempor purus. Duis euismod porttitor elit, eu hendrerit est vehicula a. Sed ac quam tincidunt, commodo eros non, laoreet diam. Nulla in pulvinar justo. Praesent et purus orci.

Footnotes

  1. Footnote text ↩

  2. Footnote text ↩ ↩2

  3. Phasellus volutpat nulla sapien. ↩


Welcome to AstroPaper-S
δΈ­ζ–‡ζ–‡η«