Alwinator / Alwinator/asciidoctor-lists

Feature request: add section name to captions

オープン
#20 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement
主要言語
Ruby
スター
46
フォーク
12
PR マージ指標
30日以内にマージされた PR はありません

説明

In my document, I have several tables which have similar or even same title, the difference being contextual - the section they are present in. Think a manual for a device that has different modes of operation, and each mode needs a table describing how a given API behaves in said mode. As is, I have to manually prefix the section title to the captions so that they actually are differentiated in the list, but this creates two issues:

- it's manual
- those captions look redundant in their context

As such, it would be great if the plugin could automatically add the section title to the list.

I can see two ways to do this:

- prefix section title to table caption
- make the list a description list, with tables nested inside their sections

```adoc
Title for first section::
* Table 1. Widgets
* Table 2. Ways to foo the widget
Second section title::
* Table 3. Bars
* Table 4. Bazs
```

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。