Published: 12 Aug 2018 › Updated: 12 Aug 2018
Test! EDIT
Repository
e.g. https://github.com/utopian-io/utopian.io
EDIT
Details
Write details of the new/updated official documentation, highlighting all the important changes and additions made.
TEST
hjj
test
- test1
- test2
- test3
- 1
- 2
- 3
/**
* Extracts links from given string.
* @param text A text to extract links from.
* @returns An array of unique links.
*/
export const getLinks = (text: string): Array<string> => {
const linksToImages = getImages(text);
return pipe(
match(
// tslint:disable-next-line:max-line-length
/(https?:\/\/(?:www\.|(?!www))[a-zA-Z0-9][a-zA-Z0-9-]+[a-zA-Z0-9]\.[^\s]{2,}|www\.[a-zA-Z0-9][a-zA-Z0-9-]+[a-zA-Z0-9]\.[^\s]{2,}|https?:\/\/(?:www\.|(?!www))[a-zA-Z0-9]\.[^\s]{2,}|www\.[a-zA-Z0-9]\.[^\s]{2,})/g
),
// if it's a markdown link, the last letter will be ')', it has to be removed
map(link => (last(link) === ')' ? init(link) : link)),
reject(contains(__, linksToImages)),
uniq
)(text);
};
Components
Describe the components/parts/sections of the software your documentation is about.
Difference
If you have updated existing documentation, describe what has been changed and the reasons behind it, as well as the impact this has on the project.
Links
Insert public links to the updated official documentation.
GitHub Proof of Authorship
- GitHub Account: e.g. https://github.com/username
- Pull Request: insert a link to the pull request for your work (if applicable)
SKIP
Leave Test! EDIT to:
Read more #testt222 posts
Best Posts From jakipatryk-dev
We have not curated any of jakipatryk-dev's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.