プロジェクト

全般

プロフィール

Vote #73064

完了

Add table reference to textile help

Admin Redmine さんが3年以上前に追加. 3年以上前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Documentation_24
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
24
version_id:
80
issue_org_id:
12734
author_id:
61731
assigned_to_id:
1
comments:
9
status_id:
5
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

Add some help for table definitions in textile help.

http://www.redmine.org/help/wiki_syntax.html


journals

--------------------------------------------------------------------------------
Attached is a patch that adds a Tables section to all of the wiki_syntax.html files.
--------------------------------------------------------------------------------
Thanks for the patch but it seems the example is wrong:

<pre>
|_ A |_ B |_ C |_ D |
| 1 | 2 |/2 span 2 |
</pre>

renders as:

|_ A |_ B |_ C |_ D |
| 1 | 2 |/2 span 2 |

Table headers need a dot after the underscore. The slash is used for rowspan, and the backslash for colspan and they need a dot too. The example should be something like:

<pre>
|_. A |_. B |_. C |_. D |
| 1 | 2 | 3 | 4 |
|/2. rowspan | 2 |\2. colspan |
| 2 | 3 | 4 |
</pre>

which renders as:

|_. A |_. B |_. C |_. D |
| 1 | 2 | 3 | 4 |
|/2. rowspan | 2 |\2. colspan |
| 2 | 3 | 4 |
--------------------------------------------------------------------------------
Textile reference for tables: http://redcloth.org/hobix.com/textile/#tables
--------------------------------------------------------------------------------
My apologies. The hand-coded table next to the example fooled me into thinking the example worked and I forgot to actually run it through Textile.

I've attached a new patch file that adds rowspan and has been tested in Redmine's Textile engine.

--------------------------------------------------------------------------------
Patch committed, thanks!
--------------------------------------------------------------------------------
Some character encodings are broken.
--------------------------------------------------------------------------------
Toshi MARUYAMA wrote:
> Some character encodings are broken.

Fixed by r13825.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------


related_issues

relates,Closed,1575,Toolbar button to insert a table

Admin Redmine さんが3年以上前に更新

  • カテゴリDocumentation_24 にセット
  • 対象バージョン3.0.0_80 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0