Home Some help for redaction
Post
Cancel
Welcome to redaction guide

Some help for redaction

In this post you will find all required information for posting in this website

Markdown (.md) redaction

At first you have to take a look on markdown syntax here

Image example

If you need place some images in your posts. Use the following syntax.

1
2
![Alt word if image isn't loaded](/assets/img/favicons/android-chrome-512x512.png){: width="200" height="100"}
*Image description phrase*

For each image the width and the height are in pixels.
You can save your images on /assets/img/posts or just use the url instead (Ex. https://ursd.org/wp-content/uploads/2020/12/1.png).

Result :

Alternative (descriptive) word if image isn't loaded Few words about image

Code block

Jekyll supports several types of code blocks

For any code you can use

1
2
3
```
code
```

Result

1
Literally any code

There is a possibility to specify the programming language

1
2
3
```rust
code
```

Result

1
!print("Hello world!")

About post configuration

You can find a template for posts at main branch named post_template.md
You have to name it in several way: YYYY-DD-MM-some-title.md
There are some details to add.

1
2
3
4
5
6
7
8
9
10
11
12
title: The main title
date:   dd/mm/yy hh:mm:ss +0800
categories: ["year", category2]     # Up to 2 categories
tags: [tag1,tag2,tag3]              # You can add as much tags as you wish (but dont abuse)
author:
  name: Your name
  link: https://github.com/YourGithubUsername
image:
  src: image url
  width:                            # in pixels
  height:                           # in pixels
  alt: alternative text             # An alternative text which will appear if the image isn't loaded
This post is licensed under CC BY 4.0 by the author.