Use a different code template for the remaining list.

This commit is contained in:
Relintai 2024-01-06 14:10:34 +01:00
parent 9675d2375b
commit 1fc4d968a4
2 changed files with 9 additions and 1 deletions

View File

@ -0,0 +1,8 @@
$NAME$
----------------------------------------------------------------------------------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++
$CODE$
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

View File

@ -51,7 +51,7 @@ bool is_structure_template_specialization_or_parent_is_template(const String &da
String generate_section_class_list(const List<String> &list, const String &cls_prefix, const HashSet<String> &used_keywords) { String generate_section_class_list(const List<String> &list, const String &cls_prefix, const HashSet<String> &used_keywords) {
FileAccess f; FileAccess f;
String code_template = f.read_file("code_template.md.html"); String code_template = f.read_file("code_remaining_template.md.html");
String d; String d;
for (const List<String>::Element *E = list.front(); E; E = E->next()) { for (const List<String>::Element *E = list.front(); E; E = E->next()) {