formatting guide

리비전: 216 • 기여자: 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|linne|
|-|-|
|Rose|Rosa cinnamomea|
|Lily|Lilium candidum|
Result
name linne
Rose Rosa cinnamomea
Lily Lilium candidum

Autolink


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

can set color of element.

Syntax

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

Result

This is green.


Text Color of Table Element

can set color of element inside table.

Syntax

text color

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

Width of Table

can set width of table.

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 Color

You can style your tables using color classes like .table-header-red-100 and .table-col-red-100 These classes color the header row and the first column of your table.

You can use these color names with both .table-header-* and .table-col-*

Available colors:

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


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

[^note1]: Elit Malesuada Ridiculus
Result

Morbi1 leo risus, porta ac consectetur ac.


Description


Syntax
Term 1  
: Description 1  
Result
Term 1
Description 1

  1. Elit Malesuada Ridiculus 

댓글 (0)

댓글 불러오는 중…

댓글 남기기

페이지 도구
📄 최근 변경