Class Markdown#
Defined in File Markdown.h
Inheritance Relationships#
Base Type#
public Karana::WebUI::Widget(Class Widget)
Class Documentation#
-
class Markdown : public Karana::WebUI::Widget#
Widget displaying markdown as safe HTML.
Public Functions
-
Markdown(Router &router, std::string_view text)#
Markdown constructor.
- Parameters:
router – Used to establish the frontend connection
text – Initial markdown text to display
-
void setText(std::string_view text)#
Set new markdown text to display.
- Parameters:
text – The new text to display
-
Markdown(Router &router, std::string_view text)#