Parse [JUNCTIONS]

This commit is contained in:
WQY\qiong
2022-11-12 14:44:31 +08:00
parent 6e433e7120
commit 749361fd47
2 changed files with 37 additions and 0 deletions

View File

@@ -37,6 +37,7 @@ def inp_in_title(section: list[str]) -> ChangeSet:
cs = ChangeSet({'operation' : API_ADD, 'type': 'title', 'value' : title.value})
return cs
def inp_out_title(name: str) -> list[str]:
title = str(get_title(name)['value'])
return title.split('\n')