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

Refer to sections by number #28

Closed
leotrs opened this issue Feb 24, 2022 · 1 comment
Closed

Refer to sections by number #28

leotrs opened this issue Feb 24, 2022 · 1 comment

Comments

@leotrs
Copy link
Owner

leotrs commented Feb 24, 2022

As of the latest commit, section labels support :ref:sec:some-lbl and :ref:link text <sec:some-lbl> syntax. But it'd be great to have syntax to automatically show only their number, not their title. Perhaps this can be a setting in conf rather than a different role?

@leotrs
Copy link
Owner Author

leotrs commented Nov 14, 2022

This is implemented as overwrite_reftext.

@leotrs leotrs closed this as completed Nov 14, 2022
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