Document how to highlight "today" in rem2html

This commit is contained in:
Dianne Skoll
2022-02-08 13:10:15 -05:00
parent 3e6259532f
commit 237813127c
+9 -1
View File
@@ -96,6 +96,14 @@ Insert I<html_text> right before the E<lt>/bodyE<gt> tag.
=back =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 =head1 AUTHOR
rem2html was written by Dianne Skoll with much inspiration from an 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++) { for (my $day=1; $day<=$Numdays; $day++) {
draw_day_cell($day, $number_of_rows); draw_day_cell($day, $number_of_rows);
$col++; $col++;
if ($col == 7) { if ($col == 7) {
$col = 0; $col = 0;