cookutils rev 958

lighttpd/index.cgi: display markdown in doc/
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Aug 12 05:00:42 2017 +0300 (2017-08-12)
parents 11e28a8b9e5a
children bc95097eff7e
files lighttpd/index.cgi
line diff
     1.1 --- a/lighttpd/index.cgi	Fri Aug 11 05:09:18 2017 +0300
     1.2 +++ b/lighttpd/index.cgi	Sat Aug 12 05:00:42 2017 +0300
     1.3 @@ -1426,6 +1426,11 @@
     1.4  </object>
     1.5  EOT
     1.6  							;;
     1.7 +						*.md|*.markdown)
     1.8 +							echo '<section>'
     1.9 +							$md2html "$tmp"
    1.10 +							echo '</section>'
    1.11 +							;;
    1.12  						*)
    1.13  							show_code $class < "$tmp"
    1.14  							;;