build: Add javascript for readability help
This commit is contained in:
parent
c38561f9a9
commit
6fc7f2eb03
2
build.pl
2
build.pl
|
@ -71,7 +71,7 @@ sub post_to_meta {
|
||||||
# perl regexes give people like me too much power
|
# perl regexes give people like me too much power
|
||||||
$content{"body"} =~ s{\$fn:(.+)\$}{
|
$content{"body"} =~ s{\$fn:(.+)\$}{
|
||||||
$fn{$1} = ++$ifn;
|
$fn{$1} = ++$ifn;
|
||||||
"<a class=\"fn\" name=\"fn-$1\" href=\"#fn-$1-text\">[" . $ifn . "]</a>"
|
"<a class=\"fn\" onclick=\"fnClick(this)\" name=\"fn-$1\" href=\"#fn-$1-text\">[" . $ifn . "]</a>"
|
||||||
}egm;
|
}egm;
|
||||||
|
|
||||||
$metadata{content} = $parser->markdown_to_html(
|
$metadata{content} = $parser->markdown_to_html(
|
||||||
|
|
Loading…
Reference in a new issue