todos and gitignore build
This commit is contained in:
@@ -1,2 +1,4 @@
|
|||||||
assets/scss/*.css
|
assets/scss/*.css
|
||||||
classes/__pycache__
|
classes/__pycache__
|
||||||
|
setup.py
|
||||||
|
build
|
||||||
|
|||||||
+6
-4
@@ -75,13 +75,15 @@ class Compiler():
|
|||||||
pdoc_filters = []
|
pdoc_filters = []
|
||||||
|
|
||||||
output = pypandoc.convert_file(in_f,
|
output = pypandoc.convert_file(in_f,
|
||||||
to='html5',
|
to='html5',
|
||||||
format='markdown+header_attributes+link_attributes+bracketed_spans',
|
format='markdown+header_attributes+link_attributes+bracketed_spans',
|
||||||
extra_args=pdoc_args,
|
extra_args=pdoc_args,
|
||||||
filters=pdoc_filters)
|
filters=pdoc_filters)
|
||||||
|
|
||||||
output_dom = BeautifulSoup(output, 'html.parser')
|
output_dom = BeautifulSoup(output, 'html.parser')
|
||||||
|
|
||||||
|
# TODO: hyphenate paragraph
|
||||||
|
|
||||||
# append html story page to template_dom
|
# append html story page to template_dom
|
||||||
story_page = BeautifulSoup(
|
story_page = BeautifulSoup(
|
||||||
'<div class="story-page story-page-'+str(pi)+'" id="'+pageid+'"></div>',
|
'<div class="story-page story-page-'+str(pi)+'" id="'+pageid+'"></div>',
|
||||||
|
|||||||
Reference in New Issue
Block a user