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