Skip to content

inkdropapp/inkdrop-embed

Repository files navigation

Embed plugin for Inkdrop

Allows Inkdrop to embed external content into a note.

Note

Printing and exporting are not supported since external content is loaded asynchronously.

Install

ipm install embed

Enable embeds in a link

Title attribute (Recommended)

Add the "!embed" link title attribute, which allows you to have a regular link caption:

[Regular link caption](https://x.com/inkdrop_app/status/1724381913576554862 "!embed")

This way, you can still have a regular link caption on other Markdown renderers.

Link caption

Write a link with the "embed" caption like so:

[embed](https://twitter.com/inkdrop_app/status/1209029200989941760)

Plain URL

https://twitter.com/inkdrop_app/status/1209029200989941760

Or, with angle brackets:

<https://twitter.com/inkdrop_app/status/1209029200989941760>

You can disable this behavior by setting the autolinks option to false in the plugin settings (See Settings).

Supported contents

PRs are welcome for supporting other platforms. See the existing implementations here. See also inkdrop embed provider if you need a static webpage for loading external scripts inside an iframe.

Settings

You can change them from the Preferences window:

  • autolinks: Create embeds from standard URLs

Limitations

  • You can't search embedded content with keywords
  • Printing and exporting not supported as they are loaded asynchronously

Changelog

Check out the releases page.