Implement OrgDoc .shallow_tags .

This commit is contained in:
Sergio Martínez Portela 2024-09-01 23:37:26 +02:00
parent 570e6bb764
commit 852f472374
2 changed files with 21 additions and 0 deletions

View file

@ -2284,6 +2284,10 @@ class OrgDoc:
return kw.value.strip(':').split(':')
return []
@property
def shallow_tags(self) -> list[str]:
return self.tags
## Querying
def get_links(self):
for headline in self.headlines: