-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Labels
Description
Using a remarkable plugin or something else, it should be possible to list all figures / tables / formulas inside any template.
Markdown syntax
Because it should be possible to create listings for multiple kind of elements, there must be a syntax addition for this feature.
Example markdown:

[figure][Awesome figure]
[table][Awesome table]
| Col 1 | Col 2|
|---|---|
| Row 1 | Row 2 |
$$
c = \pm\sqrt{a^2 + b^2}
$$
[formula][Awesome formula]Templating
The data passed to the templates could look like:
{
"listings": {
"figures": [{ "": 1, "link": "#figure-1", "title": "Awesome figure" }, ...],
"tables": [{ "": 1, "link": "#table-1", "title": "Awesome table" }, ...],
"formulas": [{ "": 1, "link": "#formula-1", "title": "Awesome formula" }, ...]
}
}HTML
Because these types of elements often have a caption, captions should be auto-added to the resulting HTML.
Using HTML and CSS the caption must be able to be transformed to things like Figure 42: Awesome figure.
This feature (caption) should be configurable inside the layout config.
okaufmann and HoracePGreeley