This commit is contained in:
Dooho Yi 2021-01-24 17:37:06 +09:00
parent f5629a52ef
commit d1c5671de5
3 changed files with 11 additions and 4 deletions

View file

@ -2,7 +2,7 @@
(?d).DS_Store (?d).DS_Store
#distribusi controlled #distribusi controlled
index.html (?d)**/index.html
#git related #git related
.git .git
@ -16,4 +16,3 @@ node_modules
# #
data data

View file

@ -150,7 +150,8 @@ def render_dir(args, root):
subtype = 'html' subtype = 'html'
# what types of text files to expand # what types of text files to expand
a = '<section id="{}">{}</section>'.format(name, open(full_path).read()) a = '<section id="{}">{}</section>'.format(name, open(full_path).read())
elif subtype in CODE_TYPES or name.endswith('.txt'): #elif subtype in CODE_TYPES or name.endswith('.txt'):
elif name.endswith('.txt'):
#check - time string #check - time string
m = PATTERN_TSTR.search(name) m = PATTERN_TSTR.search(name)
tstring = "" tstring = ""
@ -260,7 +261,8 @@ def distribusify(args, directory): # noqa
subtype = 'html' subtype = 'html'
# what types of text files to expand # what types of text files to expand
a = '<section id="{}">{}</section>'.format(name, open(full_path).read()) a = '<section id="{}">{}</section>'.format(name, open(full_path).read())
elif subtype in CODE_TYPES or name.endswith('.txt'): #elif subtype in CODE_TYPES or name.endswith('.txt'):
elif name.endswith('.txt'):
#check - time string #check - time string
m = PATTERN_TSTR.search(name) m = PATTERN_TSTR.search(name)
tstring = "" tstring = ""

View file

@ -61,6 +61,12 @@ div {
white-space: pre-line; white-space: pre-line;
} }
/* .x-c div,
.x-shellscript div,
.x-python div {
white-space: pre-line;
} */
figure { figure {
margin: 0; margin: 0;
padding: 0; padding: 0;