Skip to content

Commit

Permalink
working IPS export using github markdown.
Browse files Browse the repository at this point in the history
  • Loading branch information
AnalogJ committed Mar 2, 2024
1 parent 7d72064 commit 42c9c2e
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion backend/pkg/utils/ips/templates/index.gohtml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,33 @@
<title>title</title>
<link rel="stylesheet" href="style.css">
<script src="script.js"></script>

<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/github-markdown-css/5.5.1/github-markdown-light.min.css" integrity="sha512-Pmhg2i/F7+5+7SsdoUqKeH7UAZoVMYb1sxGOoJ0jWXAEHP0XV2H4CITyK267eHWp2jpj7rtqWNkmEOw1tNyYpg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<style>
.markdown-body {
box-sizing: border-box;
min-width: 200px;
max-width: 980px;
margin: 0 auto;
padding: 45px;
}

@media (max-width: 767px) {
.markdown-body {
padding: 15px;
}
}
</style>
</head>
<body>

{{template "header.gohtml" .}}
{{template "toc.gohtml" .}}

{{template "composition.gohtml" .}}
<article class="markdown-body">
{{template "composition.gohtml" .}}
</article>

{{template "footer.gohtml" .}}

Expand Down

0 comments on commit 42c9c2e

Please sign in to comment.