Unverified Commit 3885791f authored by Martin Lowe's avatar Martin Lowe 🇨🇦 Committed by GitHub
Browse files

Add text target component (#205)

* Add text target component
Signed-off-by: Martin Lowe's avatarMartin Lowe <martin.lowe@eclipse-foundation.org>

* Fix attribution of text target component to me, its mine.
Signed-off-by: Martin Lowe's avatarMartin Lowe <martin.lowe@eclipse-foundation.org>
parent 0dda32ca
......@@ -153,6 +153,12 @@
weight = 3
parent = "solstice"
name = "Text Target"
url = "/components/text_target/"
weight = 3
parent = "solstice"
name = "RSS Feed"
url = "/components/rss/"
title: "Text Target"
date: 2019-04-17T15:52:27-04:00
description: ""
categories: []
keywords: []
slug: ""
aliases: []
toc: false
draft: false
You can add a span with an ID to a markdown file using the following shortcode: **{{&lt; text_target id=&quot;sample&quot; &gt;}}Text to target{{&lt;/ text_target &gt;}}**
{{< text_target id="sample" >}}Text to target{{</ text_target >}}
Copyright (c) 2021 Eclipse Foundation, Inc.
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0 which is available at
Martin Lowe <martin.lowe@eclipse-foundation.org>
SPDX-License-Identifier: EPL-2.0
<span id="{{ .Get "id"}}"{{ with (.Get "className")}}class="{{ . }}"{{ end }}>{{ .Inner }}</span>
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment