From 237813127c93865e297d8d36fac810764160bb61 Mon Sep 17 00:00:00 2001 From: Dianne Skoll Date: Tue, 8 Feb 2022 13:10:15 -0500 Subject: [PATCH] Document how to highlight "today" in rem2html --- rem2html/rem2html | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/rem2html/rem2html b/rem2html/rem2html index 05c0df5b..9141fbae 100644 --- a/rem2html/rem2html +++ b/rem2html/rem2html @@ -96,6 +96,14 @@ Insert I right before the E/bodyE tag. =back +=head1 HIGHLIGHTING TODAY + +Older versions of rem2html used to highlight today's date with a red outline. +The current version does not do that by default. If you wish to highlight +today's date, add the following reminder to your reminders file: + + REM [realtoday()] SPECIAL HTMLCLASS rem-today + =head1 AUTHOR rem2html was written by Dianne Skoll with much inspiration from an @@ -487,7 +495,7 @@ sub output_calendar } for (my $day=1; $day<=$Numdays; $day++) { - draw_day_cell($day, $number_of_rows); + draw_day_cell($day, $number_of_rows); $col++; if ($col == 7) { $col = 0;