(value: str)
| 136 | |
| 137 | |
| 138 | def _parse_inline_aliases(value: str) -> list[str]: |
| 139 | value = value.strip() |
| 140 | if not value: |
| 141 | return [] |
| 142 | if value.startswith("[") and value.endswith("]"): |
| 143 | value = value[1:-1] |
| 144 | return [_strip_wrapping_quotes(part) for part in value.split(",") if _strip_wrapping_quotes(part)] |
| 145 | alias = _strip_wrapping_quotes(value) |
| 146 | return [alias] if alias else [] |
| 147 | |
| 148 | |
| 149 | def _frontmatter_fields(text: str) -> dict[str, Any] | None: |
no test coverage detected