%PDF- %PDF-
Direktori : /lib/python3/dist-packages/markdown_it/rules_core/ |
Current File : //lib/python3/dist-packages/markdown_it/rules_core/state_core.py |
from __future__ import annotations from typing import TYPE_CHECKING from ..ruler import StateBase from ..token import Token from ..utils import EnvType if TYPE_CHECKING: from markdown_it import MarkdownIt class StateCore(StateBase): def __init__( self, src: str, md: MarkdownIt, env: EnvType, tokens: list[Token] | None = None, ) -> None: self.src = src self.md = md # link to parser instance self.env = env self.tokens: list[Token] = tokens or [] self.inlineMode = False