S or /

Class CommonMarkCache

from egui.commonmark import CommonMarkCache
class CommonMarkCache:

Methods§

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 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.

def set_scroll_to_id_target(self, /, target: str |None) -> None§