OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

How to put hyperlink in my .env file in Typescript?

  • Thread starter Thread starter Daniiiii
  • Start date Start date
D

Daniiiii

Guest
I need to put 3 hyperlinks in a string with /n (newline) in my environment variable file.

When I call my environment variable in my ts file the output in my UI should be

Code:
MY_LINKS='Links:/nHyperLink1<https://samplelink1.com> /n HyperLink2<https://samplelink2.com> /n HyperLink3<https://samplelink3.com>'

Links:
HyperLink1
HyperLink2
HyperLink3

<p>I need to put 3 hyperlinks in a string with /n (newline) in my environment variable file.</p>
<p>When I call my environment variable in my ts file the output in my UI should be</p>
<pre><code>MY_LINKS='Links:/nHyperLink1<https://samplelink1.com> /n HyperLink2<https://samplelink2.com> /n HyperLink3<https://samplelink3.com>'
</code></pre>
<p>Links:<br />
HyperLink1<br />
HyperLink2<br />
HyperLink3</p>
 

Latest posts

H
Replies
0
Views
1
haifisch123
H
A
Replies
0
Views
1
Adrian-Mihai Enache
A
H
Replies
0
Views
1
Hür Doğan ÜNLÜ
H
Top