Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/rossant/awesome-math
/ _iter_headers
Function
_iter_headers
build_toc.py:28–32 ·
view source on GitHub ↗
(md)
Source
from the content-addressed store, hash-verified
26
27
28
def
_iter_headers(md):
29
headers = (line
for
line in md.splitlines()
30
if
line.startswith(
'#'
))
31
for
header in headers:
32
yield
header
33
34
35
def
_get_header_item(header):
Callers
1
_gen_items
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected