mirror of
https://github.com/42wim/matterbridge.git
synced 2024-11-26 12:42:03 -08:00
04567c765e
This uses our own gomatrix lib with the SendHTML function which adds HTML to formatted_body in matrix. golang-commonmark is used to convert markdown into valid HTML.
13 lines
674 B
Markdown
13 lines
674 B
Markdown
linkify [![License](https://img.shields.io/badge/licence-BSD--2--Clause-blue.svg)](https://opensource.org/licenses/BSD-2-Clause) [![GoDoc](http://godoc.org/gitlab.com/golang-commonmark/linkify?status.svg)](http://godoc.org/gitlab.com/golang-commonmark/linkify) [![Pipeline status](https://gitlab.com/golang-commonmark/linkify/badges/master/pipeline.svg)](https://gitlab.com/golang-commonmark/linkify/commits/master)
|
|
=======
|
|
|
|
Package linkify provides a way to find what looks like links in plain text.
|
|
|
|
## Install
|
|
|
|
go get -u gitlab.com/golang-commonmark/linkify
|
|
|
|
## Use
|
|
|
|
See an [example](https://gitlab.com/golang-commonmark/linkify/blob/master/linkify_example_test.go).
|