usememos / gomark

53 stars 6 forks source link

Allow tags to be ended before the end of a string #5

Closed RoccoSmit closed 2 months ago

RoccoSmit commented 3 months ago

The current #tag parser looks for " " and # to find the end of a tag, limiting how tags can be used in text. e.g. #Foo's bar should have #Foo as the tag, currently it is #Foo's #Foo: "Bar" should have #Foo as the tag, currently it is #Foo:

This is creating a list of tag mutations that makes using tags as filters a challenge as you only get partial results back by selecting the main topic or you need to select multiple tags for the same topic

Ideally there would be a way to mark the end of the tag so that the user can specify what part of the string should be used as the tag

RoccoSmit commented 3 months ago

I've created a pr that allows for this functionality https://github.com/usememos/gomark/pull/4

RoccoSmit commented 2 months ago

moved to memos for more visibility https://github.com/usememos/memos/issues/3891