Verto
develop

Contents

  • Installing Verto
  • Using Verto
  • Using Processors
  • Available Processors
    • Blockquote
    • Boxed Text
    • Button Link
    • Comment
    • Conditional
    • External Link
    • Embed iframe
    • Glossary Link
    • Heading
    • Image
    • Inline Image
    • Interactive
    • Panel
    • Relative Link
    • Remove Title
    • Save Title
    • Scratch
    • Scratch (Inline)
    • Table of Contents
    • Video
  • Implicit Processors
  • Extensions
  • Contributing to Verto
  • Changelog
Verto
  • Docs »
  • Using Processors »
  • External Link
  • Edit on GitHub

External LinkΒΆ

Processor name: external-link

This processor will find any external links (links that start with http:, https:, mailto:, etc.), and will create a HTML link with the target attribute set to "_blank". This allows external links in Markdown to be opened in a new tab.

The default HTML for external links is:

<a href='{{ link_path }}{{ link_query }}' target="_blank">{{ text }}</a>

Using the following example tag:

Check out this [website](https://www.google.com).

The resulting HTML would be:

<p>Check out this <a href="https://www.google.com" target="_blank">website</a>.</p>
Next Previous

© Copyright 2017 University of Canterbury Computer Science Education Research Group Revision bfce624d.

Built with Sphinx using a theme provided by Read the Docs.