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

Not possible to provide custom link text for internal links #33

Open
edgimar opened this issue Jun 26, 2017 · 3 comments
Open

Not possible to provide custom link text for internal links #33

edgimar opened this issue Jun 26, 2017 · 3 comments

Comments

@edgimar
Copy link

edgimar commented Jun 26, 2017

When using a CUSTOM_ID property, if a reference like [[#myid][text to display]] is used, then instead of the exported document having text to display appear for the link, only myid appears. Also, when just [[#myid]] is used, the exported link only displays myid and not the name of the headline possessing this id.

@msnoigrs
Copy link
Owner

If you can use :ref: role, Please try to set this:
(setq org-rst-link-use-ref-role t)

@edgimar
Copy link
Author

edgimar commented Jun 29, 2017

Aha! I didn't see that -- maybe should be added to README. But I wonder why this isn't the default -- make people do (setq org-rst-link-use-ref-role nil) if they don't want it.

@msnoigrs
Copy link
Owner

The vanilla docutils doesn't have :ref: role, this role provided by Sphinx. The main target of ox-rst is the vanilla docutils for now. I don't know the future.

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

2 participants