To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!
More about adding a collaboratorLink
Write links in markdown, with or without a content. If not, the url is duplicated as content.
You can create a link by extending a string like:
'https://github.com'.link_to 'Github'
Or by calling the a
function:
a 'https://github.com', 'Github'
- Scenarios
-
- Extend string to create link only with url
- Extend string to create link with url and content
- Function to create link only with url
- Function to create link with url and content
- Link with an image as content (see Image feature for details)
- Extend string to create link only with url
-
- When
-
I execute the following koios code:
Koios::Doc.write {[ 'https://github.com'.link_to ]}
- Then
-
the markdown output is:
[https://github.com](https://github.com)
- Extend string to create link with url and content
-
- When
-
I execute the following koios code:
Koios::Doc.write {[ 'https://github.com'.link_to('Github') ]}
- Then
-
the markdown output is:
[Github](https://github.com)
- Function to create link only with url
-
- When
-
I execute the following koios code:
Koios::Doc.write {[ a('https://github.com') ]}
- Then
-
the markdown output is:
[https://github.com](https://github.com)
- Function to create link with url and content
-
- When
-
I execute the following koios code:
Koios::Doc.write {[ a('https://github.com', 'Github') ]}
- Then
-
the markdown output is:
[Github](https://github.com)
- Link with an image as content (see Image feature for details)
-
- When
-
I execute the following koios code:
Koios::Doc.write{[ 'https://travis-ci.org/eunomie.koios'.link_to( 'https://travis-ci.org/eunomie/koios.svg?branch=master'.img('Build Status')) ]}
- Then
-
the markdown output is:
[](https://travis-ci.org/eunomie.koios)
Last published almost 7 years ago by eunomie.