mirror of
https://github.com/jgm/pandoc.git
synced 2026-07-10 11:27:06 +00:00
c660bd3419
`bbcode` is now supported as an output format, as well as variants `bbcode_fluxbb` (FluxBB), `bbcode_phpbb` (phpBB), `bbcode_steam` (Hubzilla), `bbcode_hubzilla` (Hubzilla), and `bbcode_xenforo` (xenForo). [API change] Adds a new module Text.Pandoc.Writers.BBCode, exporting a number of functions. Also exports `writeBBCode`, `writeBBCodeSteam`, `writeBBCodeFluxBB`, `writeBBCodePhpBB`, `writeBBCodeHubzilla`, `writeBBCodeXenforo` from Text.Pandoc.Writers.
61 lines
2.1 KiB
Plaintext
61 lines
2.1 KiB
Plaintext
Simple table with caption:
|
|
|
|
Demonstration of simple table syntax.
|
|
[table]
|
|
[tr][th]Right[/th][th]Left[/th][th]Center[/th][th]Default[/th][/tr]
|
|
[tr][td]12[/td][td]12[/td][td]12[/td][td]12[/td][/tr]
|
|
[tr][td]123[/td][td]123[/td][td]123[/td][td]123[/td][/tr]
|
|
[tr][td]1[/td][td]1[/td][td]1[/td][td]1[/td][/tr]
|
|
[/table]
|
|
|
|
Simple table without caption:
|
|
|
|
[table]
|
|
[tr][th]Right[/th][th]Left[/th][th]Center[/th][th]Default[/th][/tr]
|
|
[tr][td]12[/td][td]12[/td][td]12[/td][td]12[/td][/tr]
|
|
[tr][td]123[/td][td]123[/td][td]123[/td][td]123[/td][/tr]
|
|
[tr][td]1[/td][td]1[/td][td]1[/td][td]1[/td][/tr]
|
|
[/table]
|
|
|
|
Simple table indented two spaces:
|
|
|
|
Demonstration of simple table syntax.
|
|
[table]
|
|
[tr][th]Right[/th][th]Left[/th][th]Center[/th][th]Default[/th][/tr]
|
|
[tr][td]12[/td][td]12[/td][td]12[/td][td]12[/td][/tr]
|
|
[tr][td]123[/td][td]123[/td][td]123[/td][td]123[/td][/tr]
|
|
[tr][td]1[/td][td]1[/td][td]1[/td][td]1[/td][/tr]
|
|
[/table]
|
|
|
|
Multiline table with caption:
|
|
|
|
Here's the caption. It may span multiple lines.
|
|
[table]
|
|
[tr][th]Centered Header[/th][th]Left Aligned[/th][th]Right Aligned[/th][th]Default aligned[/th][/tr]
|
|
[tr][td]First[/td][td]row[/td][td]12.0[/td][td]Example of a row that spans multiple lines.[/td][/tr]
|
|
[tr][td]Second[/td][td]row[/td][td]5.0[/td][td]Here's another one. Note the blank line between rows.[/td][/tr]
|
|
[/table]
|
|
|
|
Multiline table without caption:
|
|
|
|
[table]
|
|
[tr][th]Centered Header[/th][th]Left Aligned[/th][th]Right Aligned[/th][th]Default aligned[/th][/tr]
|
|
[tr][td]First[/td][td]row[/td][td]12.0[/td][td]Example of a row that spans multiple lines.[/td][/tr]
|
|
[tr][td]Second[/td][td]row[/td][td]5.0[/td][td]Here's another one. Note the blank line between rows.[/td][/tr]
|
|
[/table]
|
|
|
|
Table without column headers:
|
|
|
|
[table]
|
|
[tr][td]12[/td][td]12[/td][td]12[/td][td]12[/td][/tr]
|
|
[tr][td]123[/td][td]123[/td][td]123[/td][td]123[/td][/tr]
|
|
[tr][td]1[/td][td]1[/td][td]1[/td][td]1[/td][/tr]
|
|
[/table]
|
|
|
|
Multiline table without column headers:
|
|
|
|
[table]
|
|
[tr][td]First[/td][td]row[/td][td]12.0[/td][td]Example of a row that spans multiple lines.[/td][/tr]
|
|
[tr][td]Second[/td][td]row[/td][td]5.0[/td][td]Here's another one. Note the blank line between rows.[/td][/tr]
|
|
[/table]
|