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

Change asciidoc rendering of links to figures and listings #3

Closed
ramalho opened this issue Jul 3, 2021 · 1 comment
Closed

Change asciidoc rendering of links to figures and listings #3

ramalho opened this issue Jul 3, 2021 · 1 comment

Comments

@ramalho
Copy link
Member

ramalho commented Jul 3, 2021

When rendering internal links, the O'Reilly toolchain renders only figure and listing identifiers, like "Figure 1".
However, instead of Figure 1, Asciidoctor renders the full caption as the link text.

For example, in https://www.fluentpython.com/extra/multi-character-emojis/ the the link to Figure 1 appears as the full caption, which is ridiculous:

Screenshot of running two_flags.py from [ex_two_flags]. The AA combination is shown as two letters A inside dashed squares. shows the output of two_flags.py: combining regional indicators to produce flags

Maybe there is a way to configure this in Asciidoctor...

@ramalho
Copy link
Member Author

ramalho commented Apr 5, 2023

Resolvido com atributos asciidocExt em config.yaml.

@ramalho ramalho closed this as completed Apr 5, 2023
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