Post

Writing a New Post

Writing a New Post

YAML

1
2
3
4
5
6
7
8
9
---
title: TITLE
date: YYYY-MM-DD HH:MM:SS +0900 #Tokyo
categories: [TOP_CATEGORIE, SUB_CATEGORIE]
tags: [TAG1, TAG2]  
author: <author_id>
math: true #Mathematical
img_path: /img/path/
---

Math

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<!-- Block math, keep all blank lines -->

$$
LaTeX_math_expression
$$

<!-- Equation numbering, keep all blank lines  -->

$$
\begin{equation}
  LaTeX_math_expression
  \label{eq:label_name}
\end{equation}
$$

Can be referenced as \eqref{eq:label_name}.

<!-- Inline math in lines, NO blank lines -->

"Lorem ipsum dolor sit amet, $$ LaTeX_math_expression $$ consectetur adipiscing elit."

<!-- Inline math in lists, escape the first `$` -->
1. \$$ LaTeX_math_expression $$
2. \$$ LaTeX_math_expression $$
3. \$$ LaTeX_math_expression $$

Mermaid

1
2
3
---
mermaid: true
---

Images

Caption

Images Caption

1
2
![img-description](/path/to/image)
_Image Caption_

Size

1
![Desktop View](/assets/img/sample/mockup.png){: width="700" height="400" }

Image Path

1
2
3
---
img_path: /img/path/
---

CDN URL

img_cdn: https://cdn.com

Preview image

1
2
3
4
5
---
image:
  path: /path/to/image
  alt: image alternative text
---

Pinned Posts

1
2
3
---
pin: true
---

Promptis

prompt-{type}

  • tip
  • info
  • warning
  • danger
1
2
> Example line for prompt.
{: .prompt-info }

Videos

Jekyll

Posts | Jekyll • Simple, blog-aware, static sites (jekyllrb.com)

This post is licensed under CC BY 4.0 by the author.