Commit 4284331f authored by svilayphiou's avatar svilayphiou

A "makefile" to generate chapter 3 in the "output" folder (Uses Python...

A "makefile" to generate chapter 3 in the "output" folder (Uses Python Markdown in the command-line)

`assets` folder to host static files

`templates` folder for HTML headers and footers.
parent 699769bd
@page {
size: 140mm 200mm;
}
.debug .pagedjs_page {
outline: 1px solid black;
}
.pagedjs_page {
counter-increment: page;
}
.pagedjs_margin-bottom:before {
/*content: var(--pagedjs-page-count);*/
content: counter(page);
}
@font-face {
font-family: Code;
src: url("/assets/fonts/CutiveMono-Regular.ttf");
}
@font-face {
font-family: Text;
src: url("/assets/fonts/cmunui.ttf");
}
body {
font-family: Text;
}
pre,
code {
font-family: Code;
}
/home/svilayphiou/fonts/Cutive_Mono/CutiveMono-Regular.ttf
\ No newline at end of file
/home/svilayphiou/fonts/Computer Modern/Upright Italic/cmunui.ttf
\ No newline at end of file
This diff is collapsed.
cat templates/header.html >| output/3-InfiniteLoops/index.html
markdown_py source/3-InfiniteLoops/Readme.md >> output/3-InfiniteLoops/index.html
cat templates/footer.html >> output/3-InfiniteLoops/index.html
cp source/3-InfiniteLoops/*.png output/3-InfiniteLoops/
<!DOCTYPE HTML>
<html class="debug">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>Aesthetic Programming</title>
<link rel="stylesheet" href="/assets/css/styles.css" type="text/css" media="all" charset="utf-8">
<script type="text/javascript" charset="utf-8" src="/assets/js/paged.polyfill.js">
</script>
</head>
<body>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment