=================================================================== RCS file: /cvs/pod2mdoc/pod2mdoc.1,v retrieving revision 1.8 retrieving revision 1.9 diff -u -p -r1.8 -r1.9 --- pod2mdoc/pod2mdoc.1 2014/04/02 20:32:41 1.8 +++ pod2mdoc/pod2mdoc.1 2014/04/03 10:17:14 1.9 @@ -1,4 +1,4 @@ -.\" $Id: pod2mdoc.1,v 1.8 2014/04/02 20:32:41 kristaps Exp $ +.\" $Id: pod2mdoc.1,v 1.9 2014/04/03 10:17:14 kristaps Exp $ .\" .\" Copyright (c) 2014 Kristaps Dzonsons .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: April 2 2014 $ +.Dd $Mdocdate: April 3 2014 $ .Dt POD2MDOC 1 .Os .Sh NAME @@ -158,6 +158,30 @@ will be rendered as follows: .Ed .Pp Multiple names separated by a comma are properly handled. +.Pp +In any section, the +.Li L<> +format code is considered a +.Sq \&Lk +link if beginning with +.Li http: , +.Li https: , +.Li ftp: , +.Li sftp: , +.Li smb: , +or +.Li afs: . +If beginning with +.Li mailto: , +it is considered a +.Sq \&Mt +link. +Otherwise, it is considered a +.Sq \&Xr +manpage in section 3P if containing double-colons or section 1 +otherwise. +The section may be overriden as +.Li L . .Sh EXIT STATUS .Ex -std .Sh EXAMPLES @@ -224,10 +248,3 @@ will cause the second space to be lost. The .Li S<> escape is discarded. -.Pp -Lastly, only the -.Li L -and -.Li L -links are understood and properly rendered as -.Sq \&Xr .