xref: /glogg/finish.sed (revision b3b2b90a66ccb66fe14f51ff1cf1af7d83ca6b24)
1# Add header/footer around the Markdown generated documentation
2# Copied from Damian Cugley (http://www.alleged.org.uk/2005/marky/)
3
41   {
5    h
6    i\
7<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"\
8    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\
9<html xml:lang="en-US" lang="en-US">\
10<head>
11    s/h2>/title>/g
12    rmetadata.inc
13    a\
14</head>\
15<body>
16    rheader.inc
17}
18
192   {
20    x
21    p
22    x
23}
24
25$   {
26    rfooter.inc
27    a\
28</body>\
29</html>
30}
31
32