Markdown - 윈디하나의 솔라나라
|
헤더1 =====
으로 입력하면 <h1>헤더1</h1>으로 변환된다.
> 인용글
으로 입력하면 <blockquote>인용글</blockquote>으로 변환된다.
강조할 *문자*
로 입력하면 강조할<em>문자</em>으로 변환해준다.
* 순서없는목록1 + 순서없는목록2 - 순서없는목록3
은 <ul><li>순서없는목록1</li><li>순서없는목록2</li><li>순서없는목록3</li></ul> 으로 변환된다.
1. 순서있는목록1 3. 순서있는목록2 2. 순서있는목록3
은 <ol><li>순서있는목록1</li><li>순서있는목록2</li><li>순서있는목록3</li></ol> 으로 변환된다. 숫자의 순서는 무관하다.
```ruby require 'redcarpet' markdown = Redcarpet.new("Hello World!") puts markdown.to_html ```
| Left-Aligned | Center Aligned | Right Aligned | | :------------ |:---------------:| -----:| | col 3 is | some wordy text | $1600 | | col 2 is | centered | $12 | | zebra stripes | are neat | $1 |
Left-Aligned | Center Aligned | Right Aligned |
---|---|---|
col 3 is | some wordy text | $1600 |
col 2 is | centered | $12 |
zebra stripes | are neat | $1 |
RSS ATOM XHTML 5 CSS3 |
Copyright © 2004-2025 Jo HoSeok. All rights reserved. |