MCPcopy Create free account
hub / github.com/ddnet/ddnet / export_block

Function export_block

scripts/export_settings_commands_table.py:188–192  ·  view source on GitHub ↗
(title, content)

Source from the content-addressed store, hash-verified

186
187
188def export_block(title, content):
189 print('<div class="block">')
190 print(f'<h2 id="{title.lower().replace(" ", "-")}">{title}</h2>')
191 print(content)
192 print("</div>")
193
194
195def read_files(pattern):

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected