This repository has been archived by the owner on Oct 13, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add text target component Signed-off-by: Martin Lowe <martin.lowe@eclipse-foundation.org> * Fix attribution of text target component to me, its mine. Signed-off-by: Martin Lowe <martin.lowe@eclipse-foundation.org>
- Loading branch information
1 parent
0dda32c
commit 3885791
Showing
3 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
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: **{{< text_target id="sample" >}}Text to target{{</ text_target >}}** | ||
|
||
{{< text_target id="sample" >}}Text to target{{</ text_target >}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!-- | ||
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 | ||
http://www.eclipse.org/legal/epl-2.0. | ||
Contributors: | ||
Martin Lowe <martin.lowe@eclipse-foundation.org> | ||
SPDX-License-Identifier: EPL-2.0 | ||
--> | ||
<span id="{{ .Get "id"}}"{{ with (.Get "className")}}class="{{ . }}"{{ end }}>{{ .Inner }}</span> |