minor cleanup
This commit is contained in:
parent
08262ac861
commit
f60c138a2c
|
|
@ -1,7 +1,7 @@
|
||||||
import sys
|
import sys
|
||||||
import markdown
|
import markdown
|
||||||
|
|
||||||
#filename = '/usr/home/sforman/src/Joypy/README.md'
|
#filename = './README.md'
|
||||||
filename = sys.argv[-1]
|
filename = sys.argv[-1]
|
||||||
with open(filename) as f:
|
with open(filename) as f:
|
||||||
text = f.read()
|
text = f.read()
|
||||||
|
|
@ -20,10 +20,5 @@ print(f'''\
|
||||||
<body>
|
<body>
|
||||||
{html}
|
{html}
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>''')
|
||||||
''')
|
|
||||||
|
|
||||||
|
|
||||||
# <meta http-equiv="Content-Security-Policy" content="default-src 'self'" />
|
|
||||||
# <link rel="stylesheet" href="/css/fonts.css">
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue