Convert HTML content to Markdown and text

This example pipeline demonstrates how to convert the HTML content into Markdown and further convert the Markdown content to text.

  1. Configure the HTTP Client Snap to fetch the HTML content from the endpoint.
    HTTP Client Snap Configuration HTTP Client Snap Output

    HTTP Client Snap Configuration


    HTTP Client Snap Output

  2. Configure the HTML to Markdown Converter Snap with the $entity, which is the HTML content obtained from the upstream HTTP Client Snap. On validation, the output is in Markdown.
    HTML to Markdown Snap Configuration HTML to Markdown Snap Output

    HTML to MD Snap Configuration


    HTML to MD Snap Output

  3. Configure the Markdown Parser Snap with the $content, which is the Markdown content obtained from the upstream Snap. On validation, the output is displayed in the text format.
    Markdown Parser Snap Configuration Markdown Parser Snap Output

    Markdown Parser Snap Configuration


    AMrkdown Parser Snap Output

To successfully reuse pipelines:
  1. Download and import the pipeline into SnapLogic Platform.
  2. Configure Snap accounts, as applicable.
  3. Provide pipeline parameters, as applicable.