Kaydet (Commit) 885215c3 authored tarafından Fred Drake's avatar Fred Drake

Added support for AMK's {definitions} environment; thanks for the reminder!

üst 3bf7865a
...@@ -837,4 +837,24 @@ sub do_cmd_maketitle { ...@@ -837,4 +837,24 @@ sub do_cmd_maketitle {
} }
#
# Definition list support.
#
sub do_env_definitions{
local($_) = @_;
swallow_newline();
"<dl>$_</dl>\n";
}
sub do_cmd_term{
local($_) = @_;
my($term, $id) = next_argument_id();
my($name,$aname,$ahref) = link_info($id);
swallow_newline();
# could easily add an index entry here...
"<dt><b>$aname" . $term . "</a></b>\n<dd>" . $_;
}
1; # This must be the last line 1; # This must be the last line
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment