formatting guide

리비전: 218 • 기여자: yukil90

Formatting Guide

Welcome to the PBDev Wiki! You can format your content using Markdown syntax with powerful formatting extensions. This guide shows what formatting options are available.

Basic Formatting

These features cover standard Markdown syntax that most users are familiar with.


Headings


Use # to ###### at the beginning of a line to create headings. The table of contents (TOC) includes headings from ## (H2) to #### (H4), but only H2s generate external links. You can also create headings using --- and === under a line of text:

# Heading 1
## Heading 2
### Heading 3

Heading 1
===
Heading 2
---

Line Break


Add two spaces at the end of a line to force a line break.

Syntax
First line.  
Second line.
Result

First line.
Second line.


Italic


Syntax

*italic* or _italic_

Result

italic


Bold


Syntax

**bold** or __bold__

Result

bold


Strikethrough


Syntax

~~strikethrough~~

Result

strikethrough


Blockquote


Syntax
This is a
multiline quote.
Result

This is a
multiline quote.


Code


Syntax
indent 4 spaces  
or  
3 backticks(```)
Result
indent 4 spaces  
or  
3 backticks(```)

Link


Syntax

[PBDev](https://pbdev.duckdns.org)

Result

PBDev


Image


Syntax

![Image name](/wiki/image/plant-1573.png)

Result

Image name


Table


Syntax
|name|species|
|-|-|
|Rose|Rosa cinnamomea|
|Lily|Lilium candidum|
Result
name species
Rose Rosa cinnamomea
Lily Lilium candidum

Autolink


You can automatically link plain URLs or use link syntax

Syntax

https://pbdev.duckdns.org PBDev

Result

https://pbdev.duckdns.org [PBDev](https://pbdev.duckdns.org)


Advanced Formatting

These features extend Markdown with rich content and layout support.


Attributes


Text Color

Apply inline styles like text color:

Syntax

This is **green**{style="color: green"}.

Result

This is green.


Table Cell Styling

Apply styles to text inside table cells:

Syntax

text color

 |name|species|
 |:--:|------|
 |Rose|*Rosa cinnamomea*{style="color: red"} |
 |Lily|*Lilium candidum*{style="color:rgb(246,243,214)"}|
Result
name species
Rose Rosa cinnamomea
Lily Lilium candidum

Table Width

You can define the table width with a style block:

Syntax

Table width

    | Name  | Category  | Rating |
    |:-------:|:-----------:|--------|
    | Rose  | Flower    | 4.5    |
    | Cactus| Succulent | 4.8    |
    {style="width:30%"} 
Result
Name Category Rating
Rose Flower 4.5
Cactus Succulent 4.8

Table Background Colors

Use .table-header-* and .table-col-* classes to color the header row and first column, respectively.

Available colors include:

Red

red-100, red-200, red-300, red-400, red-50, red-500, red-600, red-700, red-800, red-900

Pink

pink-100, pink-300, pink-500, pink-700

Purple

purple-100, purple-300, purple-500, purple-700

Indigo

indigo-100, indigo-300, indigo-500, indigo-700

Blue

blue-100, blue-300, blue-500, blue-700

Teal

teal-100, teal-300, teal-500, teal-700

Green

green-100, green-300, green-500, green-700

Amber

amber-100, amber-300, amber-500, amber-700

Orange

orange-100, orange-300, orange-500, orange-700

Gray

gray-100, gray-300, gray-500, gray-700

Syntax
 | Plant       | Type        | Sunlight       | Notes               |
 |-------------|-------------|----------------|---------------------|
 | Rose        | Flower      | Full sun       | Needs pruning       |
 | Cactus      | Succulent   | Full sun       | Water sparingly     |
 | Fern        | Shade plant | Indirect light | Keep soil moist     |
 | Lavender    | Herb        | Full sun       | Attracts pollinators|
 {.table-header-green-500 .table-header-green-300 style="width:100%"}
Result
Plant Type Sunlight Notes
Rose Flower Full sun Needs pruning
Cactus Succulent Full sun Water sparingly
Fern Shade plant Indirect light Keep soil moist
Lavender Herb Full sun Attracts pollinators

Footnotes

You can add footnotes for references or extra info


Syntax
Morbi[^note1] leo risus, porta ac consectetur ac.

[^note1]: Elit Malesuada Ridiculus
Result

Morbi1 leo risus, porta ac consectetur ac.


Description

Useful for glossaries or metadata


Syntax
Term 1  
: Description 1  
Result
Term 1
Description 1

  1. Elit Malesuada Ridiculus 

댓글 (0)

댓글 불러오는 중…

댓글 남기기

페이지 도구
📄 최근 변경