Raw links and tags detection/selection.
This commit is contained in:
parent
d7b7b5ac7e
commit
91e5d916c7
@ -187,6 +187,11 @@ Tiddler >> printOn: aStream [
|
||||
nextPutAll: '( ', self title, ' )'
|
||||
]
|
||||
|
||||
{ #category : #accessing }
|
||||
Tiddler >> rawLinks [
|
||||
^ (WikiTextGrammar new linkSea star parse: self text) asSet
|
||||
]
|
||||
|
||||
{ #category : #accessing }
|
||||
Tiddler >> tags [
|
||||
|
||||
|
@ -39,6 +39,13 @@ TiddlyWiki >> printOn: aStream [
|
||||
nextPutAll: '( ', self file basename ,' )'
|
||||
]
|
||||
|
||||
{ #category : #accessing }
|
||||
TiddlyWiki >> taggedWith: aTag [
|
||||
^ self tiddlers select: [:tiddler |
|
||||
tiddler tags isNotNil and: [tiddler tags includesSubstring: aTag ]
|
||||
]
|
||||
]
|
||||
|
||||
{ #category : #accessing }
|
||||
TiddlyWiki >> tiddlers [
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user