16

How can I add a link to a YAML file that points to, e.g. another web site? The description field would be fine.

I read the YAML documentation but could not find a reference to "external references".

Rich Benner
  • 7,873
  • 9
  • 33
  • 39
Ulrich Scholz
  • 2,039
  • 4
  • 30
  • 51

4 Answers4

15

Easy solution: descriptions use format Markdown, which allows links with the format

[I'm an inline-style link](https://www.google.com)
Ulrich Scholz
  • 2,039
  • 4
  • 30
  • 51
  • 1
    Tried this as a value for property of an action in GitHub Actions workflow. Returns "can not read an implicit mapping pair; a colon is missing". – Aleksandar Ivanov Nov 30 '20 at 07:44
  • 2
    For my yaml parameter I had to put everything in quotation marks: `"[I'm an inline-style link](https://www.google.com)"` – BeCurious Aug 25 '21 at 07:46
1

I was looking for the same, this may help too.

 <a href="https://..." target="_blank">click to open the extarnal tab</a>
Seyma Kalay
  • 2,037
  • 10
  • 22
0

YAML does not include any kind of "import" or "include" statement.
BUT what you can do is to use PyYAML (documentation here).
Also, read this previous post, there are some solutions you may want to use to your case.

Community
  • 1
  • 1
Gal Dreiman
  • 3,969
  • 2
  • 21
  • 40
0

This works title: Test Release and Updates name: Developed and maintained by Testing Team description: Testing Landing Page theme: jekyll-theme-cayman github: is_project_page: false

Sisi
  • 1