Changed heading matching from regex to post-Markdown split to accomodate variation in file system textfile rendering (eg. Windows \r vs \ln \n etc)