mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 17:57:35 +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
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ String HelpWindow::render(const GUI::ModelIndex& index)
|
||||||
if (!examples.is_empty()) {
|
if (!examples.is_empty()) {
|
||||||
markdown_builder.append("# EXAMPLES\n");
|
markdown_builder.append("# EXAMPLES\n");
|
||||||
examples.for_each_member([&](auto& text, auto& description_value) {
|
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…
Add table
Add a link
Reference in a new issue