idyll-langidyll
DocsTutorialsGalleryEditor
menu

Overview

  • Introduction
  • Getting started
  • Markup syntax
  • HTML tags
  • Options and styles
  • Plugin system
  • Multipage template

Interactivity

  • Built-in components
  • Using components from npm
  • Make your own component
  • Scrolling and Refs

Publishing

  • Deploying to the web
  • Embedding Idyll

Useful Links

  • Github
  • Chat
  • Twitter
  • Support Us
← Back

Link

This component just acts as syntactic sugar for displaying links inline in your text.

Input:

[link text:"the text" url:"https://some.url" /]

is equivalent to [a href:"https://some.url"]the text[/a].

Output:

Props

  • text string

    The text to display

    • Example: "This is a hyperlink"
  • url string

    The URL to open when the link is clicked

    • Example: "https://idyll-lang.org/"
  • target string

    Specifies where to open the linked document

    • Example: "_blank"