Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I9eac30c7d4c1c89178f4930b215e523d6a6a6964
51 lines
1.4 KiB
TOML
51 lines
1.4 KiB
TOML
[plugin]
|
|
name = "markdown-metadata"
|
|
version = "1.0.0"
|
|
api_version = "1.0"
|
|
author = "Pinakes Team"
|
|
description = "Extract metadata from Markdown files with YAML frontmatter"
|
|
homepage = "https://github.com/pinakes/pinakes"
|
|
license = "MIT OR Apache-2.0"
|
|
kind = ["metadata_extractor"]
|
|
|
|
[plugin.binary]
|
|
wasm = "markdown_metadata.wasm"
|
|
|
|
[capabilities]
|
|
# No filesystem or network access needed
|
|
# Plugin operates on provided content
|
|
|
|
[config]
|
|
extract_tags = { type = "boolean", default = true, description = "Extract tags from YAML frontmatter" }
|
|
parse_yaml = { type = "boolean", default = true, description = "Parse YAML frontmatter" }
|
|
max_file_size = { type = "integer", default = 10485760, description = "Maximum file size in bytes (10MB)" }
|
|
[plugin]
|
|
name = "markdown-metadata"
|
|
version = "1.0.0"
|
|
api_version = "1.0"
|
|
author = "Pinakes Contributors"
|
|
description = "Enhanced Markdown metadata extractor with frontmatter parsing"
|
|
homepage = "https://github.com/notashelf/pinakes"
|
|
license = "MIT"
|
|
kind = ["metadata_extractor"]
|
|
|
|
[plugin.binary]
|
|
wasm = "markdown_metadata.wasm"
|
|
|
|
[capabilities]
|
|
network = false
|
|
|
|
[capabilities.filesystem]
|
|
read = []
|
|
write = []
|
|
|
|
# Plugin configuration
|
|
[config]
|
|
# Extract frontmatter tags as media tags
|
|
extract_tags = true
|
|
# Parse YAML frontmatter
|
|
parse_yaml = true
|
|
# Parse TOML frontmatter
|
|
parse_toml = true
|
|
# Maximum file size to process (in bytes)
|
|
max_file_size = 10485760 # 10MB
|