Extract Links From Markdown Block

Extract and enrich hyperlinks from markdown text in Scout workflows

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 extracted links with optional details such as favicons, titles, and snippets. This structured output allows for further processing and integration within your workflow.

Usage Context

Use this block to extract and enrich hyperlinks from markdown text, providing additional context and metadata for each link. This can be particularly useful in workflows that involve content curation, link validation, or external resource integration.

Best Practices

  • Ensure the markdown text is well-formed to maximize the accuracy of link extraction.
  • Use the fetch options judiciously to balance performance and the richness of extracted data.
  • Consider the timeout settings for fetching external resources to avoid unnecessary delays.