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

Feature idea: Alternative display title #6

Open
steveparks opened this issue Jun 27, 2024 · 0 comments
Open

Feature idea: Alternative display title #6

steveparks opened this issue Jun 27, 2024 · 0 comments

Comments

@steveparks
Copy link
Contributor

At the moment, the addon takes text between the [ and ] braces and turns it into a link to an entry with exactly that title. The same title is shown as the link.

Sometimes it may be desired to have a different title displayed to the actual title of the entry.

For example:

  • An entry titled "My favourite cafes" that lists cafes the user has favourited on a site, may wish to show this text in an article "Click to add this cafe to [your favourite cafes]"
  • An entry of a news item titled "Minister denies Llama pancake claims" may need to be referenced from another article is "but the minister has previously faced other controversies, including over his [choice of breakfast]."

It would be a useful feature if users could enter the correct page title to be referenced, but then also enter alternative text to be displayed.

This could be achieved with this format:
[Original entry title|Alternative display text]


As mentioned before, suggesting some ideas for extra features. If you feel this would be worthwhile, and once we've hammered out the idea, I'd be happy to work on a pull request.

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