module markdownout - explicit anchor not heading

This commit is contained in:
Hamish Willee 2020-11-05 18:17:22 +11:00 committed by Beat Küng
parent bde5cadba7
commit ffa38f1b4f
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ The generated files will be written to the `modules` directory.
result += "%s\n" % doc
usage_string = module.usage_string()
if len(usage_string) > 0:
result += "### Usage {#%s_usage}\n```\n%s\n```\n" % (module.name(), usage_string)
result += '<a id="%s_usage"></a>\n### Usage\n```\n%s\n```\n' % (module.name(), usage_string)
return result
def Save(self, dirname):