in plugins/mkdocs-atlas-formatting-plugin/mkdocs_atlas_formatting_plugin/block.py [0:0]
def start(self, page_title: str, line: str) -> None:
m = self.options_pattern.match(line)
if not m:
return
block_type = m.group(1)
block_options = m.group(2)
if block_type in self.valid_types:
self.type = block_type
self.parse_options(block_options)
self.is_started = True
else:
logger.warning(f'invalid block type `{block_type}` on page `{page_title}`')