remove code_highlight helper function - static-site-scripts - static site generator shellscripts
 (HTM) git clone git://git.codemadness.org/static-site-scripts
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit a6b652c8cb43de366300bbcf3c004278bcea8a8e
 (DIR) parent a2cc7c5e5a5cd3f1e2b2d3727b7f07cee3b0872e
 (HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
       Date:   Sun,  2 Mar 2014 12:12:04 +0100
       
       remove code_highlight helper function
       
       Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
       
       Diffstat:
         M generate.sh                         |       7 -------
       
       1 file changed, 0 insertions(+), 7 deletions(-)
       ---
 (DIR) diff --git a/generate.sh b/generate.sh
       @@ -48,13 +48,6 @@ makeid() {
                        -e 's@[-]*$@@g' -e 's@^[-]*@@g'
        }
        
       -# escape some HTML entities, prefix code with linenumbers.
       -code_highlight() {
       -        printf '%s' '<pre><code>'
       -        sed -e 's@&@\&amp;@g' -e 's@>@\&gt;@g' -e 's@<@\&lt;@g' | nl -w 4 -s ' '
       -        printf '%s' '</code></pre>'
       -}
       -
        pageheader() {
                # prefix page title with site title, make sure its neatly formatted.
                if [ "${title}" = "" ]; then