EnhancementHacktoberfestHelp Wanted
Repository metrics
- Stars
- (71 stars)
- PR merge metrics
- (PR metrics pending)
Description
Rather than just having support for hidden and due extensions and adding additional extensions as they are requested, we could add an extensions data member that is an array/object using key:value pairs, where the key is the extension and the value is an array of values for that extension
So, example task dep:1 dep:2 h:1 would parse to
{ text: "example task"
extensions: { dep: [ '1', '2' ]
h: [ '1' ]
}
}
It allows anyone using the jsTodoTxt to implement their own custom extensions without building in behavior that breaks the todo.txt standard (or having to do other people's work for them, if they want to use this to parse tasks and support their own custom extension).