mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:47:34 +00:00
LibMarkdown: Allow extra content to be inserted into HTML output's head
This lets users supply custom styling and scripting, among other things.
This commit is contained in:
parent
1da53ef854
commit
aea4fbdd7b
2 changed files with 19 additions and 13 deletions
|
@ -19,7 +19,7 @@ public:
|
|||
: m_container(move(container))
|
||||
{
|
||||
}
|
||||
String render_to_html() const;
|
||||
String render_to_html(StringView extra_head_contents = ""sv) const;
|
||||
String render_to_inline_html() const;
|
||||
String render_for_terminal(size_t view_width = 0) const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue