markedpp icon indicating copy to clipboard operation
markedpp copied to clipboard

Please add captions

Open sharpninja opened this issue 7 years ago • 1 comments

A command for marking captions for images and tables would be very useful. For example it could look like this:

!caption("Table 1-1")

|Header
|---

This would render to

<a href="#caption-table-1-1"></a>
###### Table 1-1

|Header
|---

Now we can have references to the captions like this:

This references !linkcaption("Table 1-1").

This would render to:

This references [Table 1-1](#caption-table-1-1).

I hope you find this interesting enough to add it.

sharpninja avatar Sep 19 '18 19:09 sharpninja

You could also apply the auto-numbering features to captions.

sharpninja avatar Sep 19 '18 19:09 sharpninja