from collections.abc import MutableMapping as MutableMappingABC from pathlib import Path from typing import Any, Callable, Iterable, MutableMapping, TypedDict, cast
EnvType = MutableMapping[str, Any] # note: could use TypeAlias in python 3.10 """Type for the environment sandbox used in parsing and rendering,
which stores mutable variables for use by plugins and rules. """
class OptionsType(TypedDict): """Options for parsing."""
maxNesting: int """Internal protection, recursion limit."""
html: bool """Enable HTML tags in source."""
linkify: bool """Enable autoconversion of URL-like texts to links."""
typographer: bool """Enable smartquotes and replacements."""
quotes: str """Quote characters."""
xhtmlOut: bool """Use '/' to close single tags ( )."""
breaks: bool """Convert newlines in paragraphs into ."""
langPrefix: str """CSS language prefix for fenced blocks."""
highlight: Callable[[str, str, str], str] | None """Highlighter function: (content, lang, attrs) -> str."""
class PresetType(TypedDict): """Preset configuration for markdown-it."""
options: OptionsType """Options for parsing."""
components: MutableMapping[str, MutableMapping[str, list[str]]] """Components for parsing and rendering."""
class OptionsDict(MutableMappingABC): # type: ignore """A dictionary, with attribute access to core markdownit configuration options."""
# Note: ideally we would probably just remove attribute access entirely, # but we keep it for backwards compatibility.
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.