We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Want to use defineObjectMarker like:
defineObjectMarker
defineObjectMarker('package', { page: 'package', ref: 'id', title: 'name', params: { instance: 'instance.path' } })
The text was updated successfully, but these errors were encountered:
To solve this problem, I thought to use a special parameter href, which allows you to set the link generation function like so:
defineObjectMarker('package', { page: 'package', ref: 'id', title: 'name', href: (page, ref, object) => `#${page}:${ref}&instance=${instance.path}` })
On the other hand, I see it's a source of bugs, e.g. all the values need to be escaped.
Also I not sure you use this feature right. Let's take a closer look at what you have and what you want to get?
Sorry, something went wrong.
No branches or pull requests
Want to use
defineObjectMarker
like:The text was updated successfully, but these errors were encountered: