mirror of
git://c9x.me/qbe.git
synced 2026-04-05 18:09:47 +00:00
remove styling from generated html
This commit is contained in:
parent
260178dcef
commit
0602ad48f0
@ -7,8 +7,7 @@ clean:
|
|||||||
|
|
||||||
html/%.html: %.txt
|
html/%.html: %.txt
|
||||||
mkdir html 2> /dev/null || true
|
mkdir html 2> /dev/null || true
|
||||||
( echo '<link rel="stylesheet" href="/assets/css/txt.css" type="text/css" />'; \
|
( sed -ne '2{s,.*,<title>&</title>,;p;q}' $<; \
|
||||||
sed -ne '2{s,.*,<title>&</title>,;p;q}' $<; \
|
|
||||||
echo '<div class="container">'; \
|
echo '<div class="container">'; \
|
||||||
sed -ne '2{s,.*,<h2>&</h2>,;p;q}' $<; \
|
sed -ne '2{s,.*,<h2>&</h2>,;p;q}' $<; \
|
||||||
sed -e '1,3d' $< | ocaml txt/txt.ml; \
|
sed -e '1,3d' $< | ocaml txt/txt.ml; \
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user