Skip to content

Commit 743dca5

Browse files
committed
Add README
1 parent d70ce5b commit 743dca5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ $text = $autolink->convert($text);
7272

7373
Output:
7474

75-
``` php
75+
``` html
7676
This is Simple URL:
7777
<a href="http://www.google.com.tw">http://www.google.com.tw</a>
7878

@@ -113,11 +113,11 @@ $text = $autolink->convert($text);
113113

114114
The link text will be:
115115

116-
``` php
116+
```
117117
http://campus.asukademy.com/learning/job/84-fin...
118118
```
119119

120-
Use Your own limit handler:
120+
Use Your own limit handler by set a callback:
121121

122122
``` php
123123
$auitolink->textLimit(function($url)
@@ -126,7 +126,7 @@ $auitolink->textLimit(function($url)
126126
});
127127
```
128128

129-
Or use Pretty shorter:
129+
Or use `\Asika\Autolink\Linker::shorten()` Pretty handler:
130130

131131
``` php
132132
$auitolink->textLimit(function($url)

0 commit comments

Comments
 (0)