S or /

Class CommonMarkViewer

from egui.commonmark import CommonMarkViewer
class CommonMarkViewer:

Methods§

def alerts(self, /, alerts: AlertBundle) -> CommonMarkViewer§
@staticmethod def default() -> CommonMarkViewer§
def default_implicit_uri_scheme(self, /, scheme: str) -> CommonMarkViewer§
def default_width(self, /, width: int |None) -> CommonMarkViewer§
def enable_scroll_to_heading(self, /, enable: bool) -> CommonMarkViewer§
def explicit_image_uri_scheme(self, /, use_explicit: bool) -> CommonMarkViewer§
def indentation_spaces(self, /, spaces: int) -> CommonMarkViewer§
def max_image_width(self, /, width: int |None) -> CommonMarkViewer§
def render_html_fn(self, /, callback: Any |None) -> CommonMarkViewer§
def render_math_fn(self, /, callback: Any |None) -> CommonMarkViewer§
def show(self, /, ui: Ui, cache: CommonMarkCache, text: str) -> Response: """ Render markdown and return its Response (the Rust inner value is unit). """§

Render markdown and return its Response (the Rust inner value is unit).

def show_alt_text_on_hover(self, /, show: bool) -> CommonMarkViewer§
def show_mut(self, /, ui: Ui, cache: CommonMarkCache, text: Mutable) -> Response: """ Render editable task lists using an egui.Mutable containing a string. """§

Render editable task lists using an egui.Mutable containing a string.

def show_scrollable(self, /, source_id: Any, ui: Ui, cache: CommonMarkCache, text: str) -> None: """ Upstream experimental virtualized rendering. Clear its cache when text changes. """§

Upstream experimental virtualized rendering. Clear its cache when text changes.

def syntax_theme_dark(self, /, theme: str) -> CommonMarkViewer§
def syntax_theme_light(self, /, theme: str) -> CommonMarkViewer§