Skip to content

Commit e5c5dd1

Browse files
fix: clickable link on exporting to client library (#3546)
* fix: open href link in a new browser tab * fix: use [link](url) style of linking in the markdown file
1 parent 3b50548 commit e5c5dd1

File tree

13 files changed

+14
-12
lines changed

13 files changed

+14
-12
lines changed

src/shared/components/views/MarkdownRenderer.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ export const MarkdownRenderer: FC<Props> = ({className = '', text}) => {
4040
<ReactMarkdown
4141
className={className}
4242
components={{img: disallowedImageRenderer}}
43+
linkTarget="_blank"
4344
>
4445
{text}
4546
</ReactMarkdown>
@@ -51,6 +52,7 @@ export const MarkdownRenderer: FC<Props> = ({className = '', text}) => {
5152
<ReactMarkdown
5253
className={className}
5354
components={{img: allowedImageRenderer}}
55+
linkTarget="_blank"
5456
>
5557
{text}
5658
</ReactMarkdown>

src/writeData/clients/Arduino/description.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
For more detailed and up to date information check out the <a href="https://github.com/tobiasschuerg/InfluxDB-Client-for-Arduino" target="_blank" rel="noreferrer">GitHub Repository</a>
1+
For more detailed and up to date information check out the [GitHub Repository](https://github.com/tobiasschuerg/InfluxDB-Client-for-Arduino)
22

33
##### Install Library
44

src/writeData/clients/CSharp/description.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
For more detailed and up to date information check out the <a href="https://github.com/influxdata/influxdb-client-csharp" target="_blank" rel="noreferrer">GitHub Repository</a>
1+
For more detailed and up to date information check out the [GitHub Repository](https://github.com/influxdata/influxdb-client-csharp)
22

33
##### Install Package
44

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
For more detailed and up to date information check out the <a href="https://github.com/influxdata/influxdb-client-go" target="_blank" rel="noreferrer">GitHub Repository</a>
1+
For more detailed and up to date information check out the [GitHub Repository](https://github.com/influxdata/influxdb-client-go)

src/writeData/clients/Java/description.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
For more detailed and up to date information check out the <a href="https://github.com/influxdata/influxdb-client-java" target="_blank" rel="noreferrer">GitHub Repository</a>
1+
For more detailed and up to date information check out the [GitHub Repository](https://github.com/influxdata/influxdb-client-java)
22

33
##### Add Dependency
44

src/writeData/clients/Javascript/description.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
For more detailed and up to date information check out the <a href="https://github.com/influxdata/influxdb-client-js" target="_blank" rel="noreferrer">GitHub Repository</a>
1+
For more detailed and up to date information check out the [GitHub Repository](https://github.com/influxdata/influxdb-client-js)
22

33
##### Install via NPM
44

src/writeData/clients/Kotlin/description.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
For more detailed and up to date information check out the <a href="https://github.com/influxdata/influxdb-client-java/tree/master/client-kotlin" target="_blank" rel="noreferrer">GitHub Repository</a>
1+
For more detailed and up to date information check out the [GitHub Repository](https://github.com/influxdata/influxdb-client-java/tree/master/client-kotlin)
22

33
##### Add Dependency
44

src/writeData/clients/PHP/description.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
For more detailed and up to date information check out the <a href="https://github.com/influxdata/influxdb-client-php" target="_blank" rel="noreferrer">GitHub Repository</a>
1+
For more detailed and up to date information check out the [GitHub Repository](https://github.com/influxdata/influxdb-client-php)
22

33
##### Install via Composer
44

src/writeData/clients/Python/description.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
For more detailed and up to date information check out the <a href="https://github.com/influxdata/influxdb-client-python" target="_blank" rel="noreferrer">GitHub Repository</a>
1+
For more detailed and up to date information check out the [GitHub Repository](https://github.com/influxdata/influxdb-client-python)
22

33
##### Install Package
44

src/writeData/clients/R/description.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
For more detailed and up to date information check out the <a href="https://github.com/influxdata/influxdb-client-r" target="_blank" rel="noreferrer">GitHub Repository</a>
1+
For more detailed and up to date information check out the [GitHub Repository](https://github.com/influxdata/influxdb-client-r)
22

33
##### Install Package
44

0 commit comments

Comments
 (0)