jgclark / NotePlan-tools

This Ruby script adds functionality to the [NotePlan app](https://noteplan.co/). Particularly when run frequently, this provides a more flexible system for repeating tasks, allows for due dates to be expressed as offsets which allows for templates, and moves or files items from Daily files to Note files. It incorporates an ealier script to 'clean' or tidy up NotePlan's data files.
26 stars 6 forks source link

Remove empty header lines and empty header sections #23

Closed jgclark closed 4 years ago

jgclark commented 4 years ago

Also remove:

  1. empty header lines (i.e. has #s but no non-whitespace)
  2. empty header sections (i.e. no content after this header and before header of same or higher level (fewer #s))

This is at the request of @BMStroh on the Discord forum for NotePlan 3.

jgclark commented 4 years ago

Implemented with release 1.5.0, today.