MCPcopy
hub / github.com/rossant/awesome-math / _anchor

Function _anchor

build_toc.py:14–17  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

12
13
14def _anchor(name):
15 anchor = name.lower().replace(' ', '-')
16 anchor = re.sub(_PUNCTUATION_REGEX, '', anchor)
17 return anchor
18
19
20def _parse_header(header):

Callers 1

_parse_headerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected