Latex: Wraped code in <pre> tags.
parent
ee3e3e1d9d
commit
bb2741cd05
|
@ -71,7 +71,7 @@ my %texCommands = (
|
|||
sub build_html{
|
||||
# builds a string to display using the given $command
|
||||
# and $usage
|
||||
return "<i>Command:</i> $_[0] <br> <i>Example Usage:</i> $_[1]";
|
||||
return "<i>Command:</i> <pre style='display: inline; padding: 1px;'>$_[0]</pre> <br> <i>Example Usage:</i> <pre style='display: inline; padding: 1px'>$_[1]</pre>";
|
||||
}
|
||||
|
||||
handle remainder => sub {
|
||||
|
|
Loading…
Reference in New Issue