tts korean
This commit is contained in:
parent
90a4f2fbb8
commit
1b3d5bb88b
5 changed files with 9 additions and 9 deletions
|
|
@ -164,9 +164,9 @@ def render_dir(args, root):
|
||||||
tstring = m.group('tstring')
|
tstring = m.group('tstring')
|
||||||
rename = m.group('name')
|
rename = m.group('name')
|
||||||
if rename == "":
|
if rename == "":
|
||||||
a = "<div>"
|
a = "<div lang='ko'>"
|
||||||
else:
|
else:
|
||||||
a = "<div><div class='named'>{}</div>".replace('{}', rename)
|
a = "<div lang='ko'><div class='named'>{}</div>".replace('{}', rename)
|
||||||
a = a + open(full_path).read() + "</div><time datetime={}>{}</time>"
|
a = a + open(full_path).read() + "</div><time datetime={}>{}</time>"
|
||||||
a = a.replace('{}', tstring)
|
a = a.replace('{}', tstring)
|
||||||
else:
|
else:
|
||||||
|
|
@ -283,9 +283,9 @@ def distribusify(args, directory): # noqa
|
||||||
tstring = m.group('tstring')
|
tstring = m.group('tstring')
|
||||||
rename = m.group('name')
|
rename = m.group('name')
|
||||||
if rename == "":
|
if rename == "":
|
||||||
a = "<div>"
|
a = "<div lang='ko'>"
|
||||||
else:
|
else:
|
||||||
a = "<div><div class='named'>{}</div>".replace('{}', rename)
|
a = "<div lang='ko'><div class='named'>{}</div>".replace('{}', rename)
|
||||||
a = a + open(full_path).read() + "</div><time datetime={}>{}</time>"
|
a = a + open(full_path).read() + "</div><time datetime={}>{}</time>"
|
||||||
a = a.replace('{}', tstring)
|
a = a.replace('{}', tstring)
|
||||||
else:
|
else:
|
||||||
|
|
|
||||||
|
|
@ -58,7 +58,7 @@ div {
|
||||||
}
|
}
|
||||||
|
|
||||||
.plain div {
|
.plain div {
|
||||||
white-space: pre-line;
|
white-space: pre-wrap;
|
||||||
overflow-wrap: anywhere;
|
overflow-wrap: anywhere;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -58,14 +58,14 @@ div {
|
||||||
}
|
}
|
||||||
|
|
||||||
.plain div {
|
.plain div {
|
||||||
white-space: pre-line;
|
white-space: pre-wrap;
|
||||||
overflow-wrap: anywhere;
|
overflow-wrap: anywhere;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* .x-c div,
|
/* .x-c div,
|
||||||
.x-shellscript div,
|
.x-shellscript div,
|
||||||
.x-python div {
|
.x-python div {
|
||||||
white-space: pre-line;
|
white-space: pre-wrap;
|
||||||
} */
|
} */
|
||||||
|
|
||||||
figure {
|
figure {
|
||||||
|
|
|
||||||
|
|
@ -58,7 +58,7 @@ div {
|
||||||
}
|
}
|
||||||
|
|
||||||
.plain div {
|
.plain div {
|
||||||
white-space: pre-line;
|
white-space: pre-wrap;
|
||||||
overflow-wrap: anywhere;
|
overflow-wrap: anywhere;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -58,7 +58,7 @@ div {
|
||||||
}
|
}
|
||||||
|
|
||||||
.plain div {
|
.plain div {
|
||||||
white-space: pre-line;
|
white-space: pre-wrap;
|
||||||
overflow-wrap: anywhere;
|
overflow-wrap: anywhere;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue