mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
Spreadsheet: Fix rendering of documentation examples
s/String::format/String::formatted/ - the Markdown source was not being formatted properly.
This commit is contained in:
parent
6f74eaed42
commit
e7c53bee16
Notes:
sideshowbarker
2024-07-19 01:56:48 +09:00
Author: https://github.com/linusg Commit: https://github.com/SerenityOS/serenity/commit/e7c53bee167 Pull-request: https://github.com/SerenityOS/serenity/pull/3734
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ String HelpWindow::render(const GUI::ModelIndex& index)
|
|||
if (!examples.is_empty()) {
|
||||
markdown_builder.append("# EXAMPLES\n");
|
||||
examples.for_each_member([&](auto& text, auto& description_value) {
|
||||
markdown_builder.appendf("- {}\n\n```js\n{}\n```\n", description_value.to_string(), text);
|
||||
markdown_builder.appendff("- {}\n\n```js\n{}\n```\n", description_value.to_string(), text);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue