-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add catalog links #12
Comments
You can put HTML in a markdown file, so something like this would work: <a href="https://bc-primo.hosted.exlibrisgroup.com/primo-explore/fulldisplay?docid=ALMA-BC21421261320001021&context=L&vid=bclib_new" target="_blank">book title</a> We could also make a shortcode for links to the catalog, like: {{% catalog-link docid="ALMA-BC21421261320001021" %}}book title{{% /catalog-link %}} Pros
Cons
|
Looking at this for the long term, I think I'd rather just use HTML, unless
you think the potential of being able to rescue the URLs is worth it.
…-Kathleen
Kathleen Monahan
(she/her/hers)
Reference, Instruction & Digital Services Librarian
John J. Burns Library, Boston College
[email protected]
617-552-8389
On Mon, Apr 29, 2019 at 3:10 PM Benjamin Florin ***@***.***> wrote:
You *can* put HTML in a markdown file, so something like this would work:
<a href="https://bc-primo.hosted.exlibrisgroup.com/primo-explore/fulldisplay?docid=ALMA-BC21421261320001021&context=L&vid=bclib_new" target="_blank">book title</a>
We could also make a shortcode for links to the catalog, like:
{{% catalog-link docid="ALMA-BC21421261320001021" %}}book title{{% /catalog-link %}}
*Pros*
- It's a little shorter
- If Alma URLs ever change (or we stop using Alma) we might not have
to rewrite all the URLs by hand
*Cons*
- Yet another shortcode to document and remember
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#12 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AJK3QXJYX5KOY4HJJPX7ZNTPS5BZJANCNFSM4HIPOXFA>
.
|
I'll close this as "won't fix", and we'll revisit it if we have to. |
This might be a little tough to do because of a "quotes in quotes" problem. We could add a
however most links are already inside
|
Is your feature request related to a problem? Please describe.
We want to link to the catalog records as part of citations for images. Ideally, we'd like these links to open in a new tab, but we can't figure out how to do that in markdown.
Describe the solution you'd like
Is it possible to make links open in new tabs? If so, how?
The text was updated successfully, but these errors were encountered: