Skip to content
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

Built-in content.image plugin #39

Closed
traut opened this issue Jan 14, 2024 · 0 comments
Closed

Built-in content.image plugin #39

traut opened this issue Jan 14, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@traut
Copy link
Member

traut commented Jan 14, 2024

Design

content.image plugin is a part of the fabric binary.

Specification

  • the plugin has no configuration options
  • API interface:
    • src -- a required string attribute
    • alt -- an optional string attribute

Behavior

The plugin returns a Markdown-formatted image tag:

![<alt-text>](<src-url>)

for

content image "foo" {
  src = "src-url"
  alt = "alt-text"
}
@traut traut added enhancement New feature or request plugins labels Jan 14, 2024
@traut traut added this to the v0.2 milestone Jan 14, 2024
@dobarx dobarx self-assigned this Jan 17, 2024
@traut traut closed this as completed Feb 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants