title |
---|
Buttons Shortcode |
Buttons are styled links that can lead to local page or external link.
{{</* button relref="/" [class="..."] */>}}Get Home{{</* /button */>}}
{{</* button href="https://github.com/" */>}}Contribute{{</* /button */>}}
{{< tabs "relative" >}} {{< tab "Code" >}}
{{</* button relref="/" */>}}Go Home{{</* /button */>}}
{{< /tab >}}
{{< tab "Result" >}}
{{< button relref="/" >}}Go Home{{< /button >}}
{{< /tab >}} {{< /tabs >}}
{{< tabs "external" >}} {{< tab "Code" >}}
{{</* button href="https://newtonproject.org" */>}}Newton Project{{</* /button */>}}
{{< /tab >}}
{{< tab "Result" >}}
{{< button href="https://newtonproject.org" >}}Newton Project{{< /button >}}
{{< /tab >}} {{< /tabs >}}