alexandersep / notes

A simple note taking bash script. It converts markdown to LaTeX using pandoc
GNU General Public License v3.0
1 stars 0 forks source link

Date for Markdown Files #3

Closed alexandersep closed 2 years ago

alexandersep commented 2 years ago

If deciding to compile a variety of markdown files and any one file contains a wrong format of date, or contain no date at all. The script will stall forever and will not compile the markdown files to pdf

alexandersep commented 2 years ago

Date format is expected to be > Date: xx-xx-xxx where the ranges of numbers matter. First x must be 3 or less. Then any continuation of x must be a range between 0 and 9.

alexandersep commented 2 years ago

Suggestion: Make greping the date easier and allow for the dashes to be replaced with slashes. Since I might forget that I must use dashes instead of slashes. Also I like slashes more

alexandersep commented 2 years ago

Also a note: The date exists to sort the files in chronological order

alexandersep commented 2 years ago

Date is no longer required. if compiling md files, it will first sort the ones with a date and then only afterwards will the md files without the date be put into the pdf. The order in which the files that do not have a date are sorted is by an alphanumeric title.