Extract Links From Markdown Block

Extracts hyperlinks from markdown text and optionally fetches additional details like favicons, titles, and snippets.

The Extract Links From Markdown block is designed to parse markdown text and extract hyperlinks. This block can also fetch additional details such as favicons, snippets, and titles for the extracted links, enhancing the utility of markdown parsing in workflows.

Configuration (Required)

Markdown
codeRequired

The markdown text to extract links from. Ensure that the markdown input is well-formed to accurately extract links. This field supports Jinja templating for dynamic content generation.

Fetch Favicons
boolean

Whether to fetch favicons for the extracted links. The default value is true. Enable fetching of additional details only if necessary to optimize performance.

Fetch Snippets
boolean

Whether to fetch snippets for the extracted links. The default value is true.

Fetch Titles
boolean

Whether to fetch titles for the extracted links. The default value is true.

See Workflow Logic & State > State Management for details on using dynamic variables in this block.

Outputs

The block outputs a list of links extracted from the markdown, each with optional details like title, snippet, and favicon URL. This structured output allows for further processing and integration within your workflow.

Usage Context

Use this block when you need to process markdown content to extract hyperlinks and optionally gather additional metadata. This can be particularly useful in content management systems, link aggregation tools, or any workflow involving markdown parsing.

Best Practices

  • Ensure the markdown input is correctly formatted to maximize the accuracy of link extraction.
  • Consider the performance implications of fetching additional details, especially when processing a large number of links.
  • Adjust the concurrency settings if necessary to balance between speed and server load when fetching details.