1
0
mirror of https://gitlab.com/redline-racing-division/car-show.git synced 2025-07-27 08:31:40 +00:00

added markdown compile

This commit is contained in:
Anson Biggs
2019-11-14 21:01:55 -07:00
parent 9ca2218a02
commit e62428a477
5 changed files with 124 additions and 0 deletions

3
body.md Normal file
View File

@@ -0,0 +1,3 @@
# this is a body
with some other text

55
boilerpalte.html Normal file
View File

@@ -0,0 +1,55 @@
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<!-- Bootstrap CSS -->
<link
rel="stylesheet"
href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T"
crossorigin="anonymous"
/>
<title>Hello, world!</title>
</head>
<body>
<header>
<!-- Just an image -->
<nav class="navbar navbar-dark" style="background-color: firebrick;">
<a
class="navbar-brand"
href="https://redlineracingdivision.com"
style="font-weight: bold;"
>
<img src="/img/RRDLogoTrans.png" height="50vh" alt="" />
Redline Racing Division
</a>
</nav>
</header>
<!-- <h1>Hello, world!</h1> -->
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script
src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
crossorigin="anonymous"
></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"
integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1"
crossorigin="anonymous"
></script>
<script
src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"
integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM"
crossorigin="anonymous"
></script>
</body>
</html>

19
bottom.html Normal file
View File

@@ -0,0 +1,19 @@
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script
src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
crossorigin="anonymous"
></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"
integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1"
crossorigin="anonymous"
></script>
<script
src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"
integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM"
crossorigin="anonymous"
></script>
</body>
</html>

11
concat.py Normal file
View File

@@ -0,0 +1,11 @@
import pypandoc
middle = pypandoc.convert_file("body.md", "html")
with open("top.html", "r") as top:
with open("bottom.html", "r") as bottom:
with open("index.html", "w") as index:
index.write(top.read())
index.write(middle)
index.write(bottom.read())
index.close()

36
top.html Normal file
View File

@@ -0,0 +1,36 @@
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<!-- Bootstrap CSS -->
<link
rel="stylesheet"
href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T"
crossorigin="anonymous"
/>
<title>Hello, world!</title>
</head>
<body>
<header>
<!-- Just an image -->
<nav class="navbar navbar-dark" style="background-color: firebrick;">
<a
class="navbar-brand"
href="https://redlineracingdivision.com"
style="font-weight: bold;"
>
<img src="/img/RRDLogoTrans.png" height="50vh" alt="" />
Redline Racing Division
</a>
</nav>
</header>
</body>
</html>