1.0.4 • Published 12 months ago

astro-obsidian-embed-plugin v1.0.4

Weekly downloads
-
License
MIT
Repository
-
Last release
12 months ago

Astro Obsidian Embed Plugin

This Astro plugin allows you to easily embed content in your Markdown files using a custom code block syntax. It is designed to work with the Obsidian Link Embed plugin, which allows you to embed content in Obsidian markdown files.

Installation

npm install astro-obsidian-embed-plugin

Usage

  1. Add the plugin to your astro.config.mjs file:
import { defineConfig } from 'astro/config';
import embedObsidianPlugin from 'astro-obsidian-embed-plugin';

export default defineConfig({
  integrations: [embedObsidianPlugin()],
});
  1. In your Markdown files, use the following syntax to embed content:
  ```embed
  title: "Example Title"
  image: "https://example.com/image.jpg"
  description: "This is an example description."
  url: "https://example.com"
  ```

or just edit your markdown in Obsidian and use the Obsidian Link Embed plugin to embed content.

The plugin will transform this into a nicely formatted embed in your rendered page.

License

MIT License

1.0.4

12 months ago

1.0.3

12 months ago

1.0.2

12 months ago

1.0.1

12 months ago

1.0.0

12 months ago