rm unused from sync io lib
This commit is contained in:
1 parent
dcea20b046
commit
abbb977b8e
1 file changed
-4
@@ -1,14 +1,10 @@
|
|||||||
import re
|
import re
|
||||||
import yaml
|
import yaml
|
||||||
|
|
||||||
from kazimir import markdown_to_html
|
|
||||||
|
|
||||||
FM_BOUNDARY = re.compile(r'^-{3,}', re.MULTILINE)
|
FM_BOUNDARY = re.compile(r'^-{3,}', re.MULTILINE)
|
||||||
|
|
||||||
|
|
||||||
def read_yaml_md(data):
|
|
||||||
yaml_front_matter, content = split_yaml_front_matter(data)
|
|
||||||
return yaml_front_matter, markdown_to_html(content)
|
|
||||||
|
|
||||||
|
|
||||||
def parse_yaml_front_matter(data: str):
|
def parse_yaml_front_matter(data: str):
|
||||||
|
|||||||
Reference in new issue
Block a user