Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please add captions #5

Open
sharpninja opened this issue Sep 19, 2018 · 1 comment
Open

Please add captions #5

sharpninja opened this issue Sep 19, 2018 · 1 comment

Comments

@sharpninja
Copy link

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant