From 647b25bedbb2cc0119a5ff4048fa57ef7bfba1c8 Mon Sep 17 00:00:00 2001 From: notkoutsie Date: Sun, 26 Nov 2023 12:28:23 +0200 Subject: [PATCH] fixed some minor things i think, code highlighting can come later :) --- noter.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/noter.sh b/noter.sh index f10ce8c..40af013 100755 --- a/noter.sh +++ b/noter.sh @@ -1,5 +1,9 @@ #!/bin/bash -# noter 1.1.5 - "tired tire tried" - @k@layer8.space - mit +# noter 1.1.6 - "i forgor" - @k@layer8.space - mit + +showgenerator="true" +backtotop="true" +lastupdated="true" nlog() { local ORANGE='\033[0;33m' @@ -41,6 +45,7 @@ generate_note_html() { sed -i "s|" echo "
" if [ "$2" = true ]; then @@ -114,7 +119,7 @@ echo " white-space: pre-wrap; } code { - color: orange !important; + color: orange; font-family: 'Courier New', monospace; white-space: pre-wrap; } @@ -152,6 +157,7 @@ checksetting "
generated with Back to Top
" "$backtotop" checksetting "
last Updated: $(date +"%Y-%m-%d %H:%M:%S")
" "$lastupdated" + echo "
" >>"$output_file"