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

Customization: captions above instead of below in some blocks #178

Open
InThisStyle10s6p opened this issue Jun 6, 2018 · 1 comment
Open
Milestone

Comments

@InThisStyle10s6p
Copy link

This relates somewhat to #84 and #174. It would be convenient to have the option to specify and render captions above rather than below certain blocks (this might be handy with code blocks and figures, too). I don't see a way to do this currently.

For instance, it would be nice to have the following

<div id="thm:algebra">
Fundamental theorem of algebra.

Any non-constant complex polynomial has a root.
</div>

be rendered as, say,

<div id="thm:algebra">
Theorem 1: Fundamental theorem of algebra.

Any non-constant complex polynomial has a root.
</div>

Perhaps in the custom prefix definition there could be a surtitle: true option that would trigger this behaviour?

@lierdakil
Copy link
Owner

Sounds reasonable. I'll see what I can do.

@lierdakil lierdakil added this to the v0.4 milestone Mar 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants