diff options
Diffstat (limited to 'utils.jl')
-rw-r--r-- | utils.jl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/utils.jl b/utils.jl index f35913b..0569335 100644 --- a/utils.jl +++ b/utils.jl @@ -1,5 +1,10 @@ using Printf +function hfun_abslink(args) + path = args[1] + return @sprintf("<a href=/%s>%s</a>", path, pagevar(path, "title")) +end + function hfun_pep(args) postfix = length(args) < 2 ? "" : '#' * args[2] return @sprintf( |