Class Markdown#

Inheritance Relationships#

Base Type#

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

virtual ~Markdown()#

Markdown destructor.

void setText(std::string_view text)#

Set new markdown text to display.

Parameters:

text – The new text to display