mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-26 12:21:36 +03:00
7543d23e3d
requires https://github.com/TryGhost/Ghost/pull/11024 With the bookmark card you can present links in a much richer format, similar to Twitter cards. If the URL points to a page with right meta information it can show the page title, excerpt, author, publisher and even a preview image. Bookmark cards can be created in two ways: 1. pasting a link as the first thing in blank paragraph - we'll check to see if we can create an embed, if we can't then we'll create a bookmark card instead 2. manually selecting the bookmark card from the (+) menu or by typing "/bookmark<kbd>Enter</kbd>" or "/bookmark {url}<kbd>Enter</kbd>" for short (you might want to do this if you want the bookmark version instead of a full embed) Pressing <kbd>Ctrl/Cmd+Z</kbd> after pasting will convert the bookmark card back to a link if that's preferred, alternatively a URL can be pasted with <kbd>Ctrl/Cmd+Shift+V</kbd> to avoid any automatic transformation to an embed/bookmark. --- - adds "bookmark" card that functions similarly to the embed card - if the oembed API request returns `type: "bookmark"` then the metadata is used to create a bookmark card |
||
---|---|---|
.. | ||
card-indicator-html.svg | ||
card-indicator-markdown.svg | ||
code-block.svg | ||
kg-add.svg | ||
kg-bold.svg | ||
kg-card-type-bookmark.svg | ||
kg-card-type-codepen.svg | ||
kg-card-type-divider.svg | ||
kg-card-type-facebook.svg | ||
kg-card-type-gallery.svg | ||
kg-card-type-gen-embed.svg | ||
kg-card-type-html.svg | ||
kg-card-type-image.svg | ||
kg-card-type-instagram.svg | ||
kg-card-type-markdown.svg | ||
kg-card-type-other.svg | ||
kg-card-type-soundcloud.svg | ||
kg-card-type-spotify.svg | ||
kg-card-type-twitter.svg | ||
kg-card-type-unsplash.svg | ||
kg-card-type-vimeo.svg | ||
kg-card-type-youtube.svg | ||
kg-edit.svg | ||
kg-heading-1.svg | ||
kg-heading-2.svg | ||
kg-img-full.svg | ||
kg-img-regular.svg | ||
kg-img-wide.svg | ||
kg-italic.svg | ||
kg-link.svg | ||
kg-quote.svg | ||
kg-replace.svg | ||
kg-thin-delete.svg | ||
kg-thin-edit.svg | ||
kg-trash.svg |