Compare commits
No commits in common. "44225724f2a93dd1f543b808611a1c87c0209e23" and "92b026815e14fc18aa76588eb2ea69851e44b6ea" have entirely different histories.
44225724f2
...
92b026815e
@ -185,10 +185,10 @@ of how to configure Meson based on USE flags, so I will blatantly copy that.
|
|||||||
|
|
||||||
```
|
```
|
||||||
src_configure() {{
|
src_configure() {{
|
||||||
local emesonargs=(
|
local emesonargs=(
|
||||||
$(meson_feature man man-pages)
|
$(meson_feature man man-pages)
|
||||||
)
|
)
|
||||||
meson_src_configure
|
meson_src_configure
|
||||||
}}
|
}}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -3,10 +3,9 @@
|
|||||||
import sys
|
import sys
|
||||||
import markdown
|
import markdown
|
||||||
from template import template
|
from template import template
|
||||||
from pymdownx.superfences import SuperFencesCodeExtension
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
md = markdown.Markdown(extensions = ["meta", "extra", "toc", SuperFencesCodeExtension(preserve_tabs=True)])
|
md = markdown.Markdown(extensions = ["meta", "extra"])
|
||||||
with open(sys.argv[1], "r", encoding="utf-8") as file_in:
|
with open(sys.argv[1], "r", encoding="utf-8") as file_in:
|
||||||
html = md.convert(file_in.read())
|
html = md.convert(file_in.read())
|
||||||
output = template(html, sys.argv[2], ".html", md.Meta) if "template" in md.Meta else html
|
output = template(html, sys.argv[2], ".html", md.Meta) if "template" in md.Meta else html
|
||||||
|
@ -172,11 +172,7 @@ div.block:first-of-type, div.block-small {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pre {
|
pre {
|
||||||
line-height: 1.5;
|
white-space: pre-wrap;
|
||||||
font-size: 14px;
|
|
||||||
background-color: #EEEEEE;
|
|
||||||
padding: 6px;
|
|
||||||
overflow: auto;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
div.articles {
|
div.articles {
|
||||||
|
Loading…
Reference in New Issue
Block a user