Skip to content
This repository has been archived by the owner on Feb 25, 2023. It is now read-only.

Structured content links #2089

Merged

Conversation

toasted-nutbread
Copy link
Collaborator

@toasted-nutbread toasted-nutbread commented Mar 17, 2022

This change adds support for structured content links. The following types of links are supported:

  • Internal links
    Internal links begin with ? and represent a search query string, using the same format that is used on the search.html page. For example, ?query=よみ will search for the term よみ. Internal links are not functional when exported to Anki.
  • External links
    External links begin with http: or https: and are opened in a new tab. In Yomichan, an external link will include an icon to indicate that it is external. External links are functional when exported to Anki.

Resolves #2031 and probably also some of #1165.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Is it possible to use structured content to embed hyperlinks inside yomichan dicts?
1 participant