Bullets¶
Module for LogseqBullets class.
Classes:
| Name | Description |
|---|---|
LogseqBullets |
LogseqBullets class. |
LogseqBullets(content: str, all_bullets: list[str] = list(), primary: str = '')
dataclass
¶
LogseqBullets class.
Methods:
| Name | Description |
|---|---|
process |
Process the content to extract bullet information. |
get_bullet_info |
Get bullet statistics. |
extract_primary_raw_data |
Extract primary data from the content. |
extract_properties |
Extract page and block properties from the content. |
extract_aliases_and_propvalues |
Extract aliases and properties from the content. |
extract_patterns |
Process patterns in the content. |
process() -> None
¶
Process the content to extract bullet information.
get_bullet_info() -> BulletInfo
¶
Get bullet statistics.
extract_primary_raw_data() -> Generator[tuple[str, Any]]
¶
Extract primary data from the content.
extract_properties() -> Generator[tuple[str, Any]]
¶
Extract page and block properties from the content.
extract_aliases_and_propvalues() -> Generator[tuple[str, Any]]
¶
Extract aliases and properties from the content.
extract_patterns() -> Generator[tuple[str, Any]]
¶
Process patterns in the content.