Class CommonMarkCache
from egui.commonmark import CommonMarkCacheclass CommonMarkCache:Methods§
def add_link_hook(self, /, name: str) -> None§
def add_syntax_from_folder(self, /, path: str) -> None§
def add_syntax_from_str(self, /, s: str, fallback_name: str |None = None) -> None§
def add_syntax_theme_from_bytes(self, /, name: str, bytes: bytes) -> None§
def add_syntax_themes_from_folder(self, /, path: str |PathLike[str]) -> None§
def clear_scrollable(self, /) -> None§
def clear_scrollable_with_id(self, /, source_id: Any) -> bool§
@staticmethod
def default() -> CommonMarkCache§
def get_link_hook(self, /, name: str) -> bool |None§
def link_hooks(self, /) -> dict[str, bool]§
def link_hooks_clear(self, /) -> None§
def link_hooks_mut(self, /) -> Any:
"""
Async value context yielding a dict, committed on exit.
"""§
Async value context yielding a dict, committed on exit.
def remove_link_hook(self, /, name: str) -> bool |None§
def scroll_to_id_target(self, /) -> str |None§
def scroll_to_id_target_mut(self, /) -> Any:
"""
Async value context yielding Mutable[str | None], committed on exit.
"""§
Async value context yielding Mutable[str | None], committed on exit.