开发者 | DevynCJohnson |
---|---|
更新时间 | 2020年8月1日 23:59 |
捐献地址: | 去捐款 |
PHP版本: | 3.9 及以上 |
WordPress版本: | 5.5 |
版权: | GPLv3 |
版权网址: | 版权信息 |
[quote]
shortcodes such as [quote]Outer Quote[quote]Inner Quote[quote]Deep Quote[/quote][/quote][/quote]
.
BBCode Deluxe works perfectly fine with Enlighter (by Andi Dittrich) as long as you set Enlighter's priority to "12".
[b]bold[/b] == [B]bold[/B]
.
As for attributes, BBCodes that only except one attribute at most can be written in one of two formats - [abbr="HyperText Markup Language"]HTML[/abbr]
or [abbr title="HyperText Markup Language"]HTML[/abbr]
.
`Inline Styling
Bold: [b]bold[/b] [strong]bold[/strong]
Italic: [i]italic[/i] [em]italic[/em]
Underline: [u]underline[/u]
Strikeout:[s]striked-out/strike-through[/s] [del]deleted[/del]
Color (name): [color color="blue"]named blue[/color]
Color (hex string): [color color="0000ff"]hex blue[/color]
Color (hex number): [color color=#00ff00]this is green instead of blue[/color]
Center Text: [center]center me[/center]
Font Size: [size size=10]10px font size[/size]
Justify Alignment: [justify]justify text[/justify]
Left Alignment: [left]left-aligned text[/left]
Subscript: [subscript]subscript text[/subscript]
Superscript: [superscript]superscript text[/superscript]
Right Alignment: [right]right-aligned text[/right]
Reverse Text: [reverse]reverse text[/reverse] [bdo]reverse text[/bdo]
Images, Links, and Embedded Content
Email: [email email=user@www.example.com]text[/email] [email]user@www.example.com[/email]
Freesound: [freesound]ID[/freesound] [freesound=large]ID[/freesound]
Gvideo: [gvideo]ID[/gvideo]
Image: [img]http://dcjtech.info/DCJTech_128.jpg[/img] [img img=DCJTech Logo]http://dcjtech.info/DCJTech_128.jpg[/img]
Telephone: [tel tel=user@www.example.com]text[/tel] [tel]user@www.example.com[/tel]
URL: [url]http://dcjtech.info/[/url] [url=http://dcjtech.info/]DCJTech[/url]
Vimeo: [vimeo]ID[/vimeo]
Youtube: [youtube]ID[/youtube]
Quotes
Cite: [cite]Relevant source[/cite]
Quote: [quote]KISS - Keep It Simple, Stupid[/quote]
Quote (NAME): [quote quote=NAME]Life is what you make of it[/quote] [quote="NAME"]Persistance is the main ingredient for success[/quote]
Quote (author=NAME): [quote author=NAME]Quitters never succeed, and successors never quit[/quote] [quote author="Martin Jones"]Kissing arses is pointless. However, knowing whose arse to kiss and whose to kick and when is priceless.[/quote]
Code
Computer Code: [code]function HelloWorld($greet = 'World') { return 'Hello '.$greet } [/code]
Keyboard Keys: [kbd]Ctrl[/kbd]+[kbd]S[/kbd] [keyboard]Ctrl[/keyboard]+[keyboard]S[/keyboard]
Lists
Ordered Lists: [ol][li]Ordered-list[/li][/ol]
Unordered Lists: [ul][li]Unordered-list[/li][/ul]
Tables
Table: [table]
Thead: [thead]
Tbody: [tbody]
Tfoot: [tfoot]
th: [th]
tr: [tr]
td: [td]
Special/Miscellaneous Content
Abbreviation: [abbr title="HyperText Markup Language"]HTML[/abbr]
Client IP: [ip/]
Horizontal Ruler (Line): [hr/]
Hide and Display Content
Contents appear to registered users: [user]This is a secret message[/user]
Contents appear to non-registered users: [guest]Login to see less ads and content hidden from guests. (CODE TO DISPLAY AD)[/guest]
Spoiler: [spoiler]Surprise![/spoiler]
Spoiler (Named): [spoiler spoiler=one plus one]is 10 (in binary)[/spoiler]
Useragent: [useragent/]`
[quote quote=NAME]QUOTE[/quote]
will render as
<div class="bbcode-quote bbcode-quote-NAME"><strong>NAME wrote: </strong><blockquote>QUOTE</blockquote></div>
If "NAME" matches the login name of a user on the system, it will render as
<div class="bbcode-quote bbcode-quote-user bbcode-quote-NAME"><strong>DISPLAY_NAME wrote: </strong><blockquote>QUOTE</blockquote></div>
Where "DISPLAY_NAME" is the display name that user. With BuddyPress installed, the name also becomes a link to their profile page. Otherwise, if BBPress is installed, it becomes a link to their forum user-page.
No FAQs, yet.
[tel]
shortcode for creating telephone links[ignore]
, [ignore-code]
, and [ignore_code]
shortcodes for ignoring/protecting enclosed code and shortcodes