Skip to content

Commit

Permalink
Print render
Browse files Browse the repository at this point in the history
  • Loading branch information
webmaster442 committed Sep 16, 2024
1 parent b2e04a8 commit a5842a7
Show file tree
Hide file tree
Showing 6 changed files with 275 additions and 356 deletions.
7 changes: 4 additions & 3 deletions build.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
bookgen build -a BuildWeb
cd wwwRoot
del search.html
cd ..
Set-Location docs
Remove-Item search.html
Set-Location ..
bookgen md2html
239 changes: 0 additions & 239 deletions docs/search.html

This file was deleted.

46 changes: 23 additions & 23 deletions docs/sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,94 +2,94 @@
<urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://webmaster442.github.io/ultimatedotnetcheatsheet//010-basiccommands.html</loc>
<lastmod>2024-09-16T17:09:02+02:00</lastmod>
<lastmod>2024-09-16T19:15:21+02:00</lastmod>
</url>
<url>
<loc>https://webmaster442.github.io/ultimatedotnetcheatsheet//020-project.html</loc>
<lastmod>2024-09-16T17:09:02+02:00</lastmod>
<lastmod>2024-09-16T19:15:21+02:00</lastmod>
</url>
<url>
<loc>https://webmaster442.github.io/ultimatedotnetcheatsheet//030-powershell.html</loc>
<lastmod>2024-09-16T17:09:02+02:00</lastmod>
<lastmod>2024-09-16T19:15:21+02:00</lastmod>
</url>
<url>
<loc>https://webmaster442.github.io/ultimatedotnetcheatsheet//035-csharpbasics.html</loc>
<lastmod>2024-09-16T17:09:02+02:00</lastmod>
<lastmod>2024-09-16T19:15:21+02:00</lastmod>
</url>
<url>
<loc>https://webmaster442.github.io/ultimatedotnetcheatsheet//040-types.html</loc>
<lastmod>2024-09-16T17:09:02+02:00</lastmod>
<lastmod>2024-09-16T19:15:21+02:00</lastmod>
</url>
<url>
<loc>https://webmaster442.github.io/ultimatedotnetcheatsheet//045-type-interfaces.html</loc>
<lastmod>2024-09-16T17:09:02+02:00</lastmod>
<lastmod>2024-09-16T19:15:21+02:00</lastmod>
</url>
<url>
<loc>https://webmaster442.github.io/ultimatedotnetcheatsheet//060-strings.html</loc>
<lastmod>2024-09-16T17:09:02+02:00</lastmod>
<lastmod>2024-09-16T19:15:21+02:00</lastmod>
</url>
<url>
<loc>https://webmaster442.github.io/ultimatedotnetcheatsheet//070-exceptions.html</loc>
<lastmod>2024-09-16T17:09:02+02:00</lastmod>
<lastmod>2024-09-16T19:15:21+02:00</lastmod>
</url>
<url>
<loc>https://webmaster442.github.io/ultimatedotnetcheatsheet//075-generics.html</loc>
<lastmod>2024-09-16T17:09:02+02:00</lastmod>
<lastmod>2024-09-16T19:15:21+02:00</lastmod>
</url>
<url>
<loc>https://webmaster442.github.io/ultimatedotnetcheatsheet//080-collections.html</loc>
<lastmod>2024-09-16T17:09:02+02:00</lastmod>
<lastmod>2024-09-16T19:15:21+02:00</lastmod>
</url>
<url>
<loc>https://webmaster442.github.io/ultimatedotnetcheatsheet//090-linq.html</loc>
<lastmod>2024-09-16T17:09:02+02:00</lastmod>
<lastmod>2024-09-16T19:15:21+02:00</lastmod>
</url>
<url>
<loc>https://webmaster442.github.io/ultimatedotnetcheatsheet//100-paternmatch.html</loc>
<lastmod>2024-09-16T17:09:02+02:00</lastmod>
<lastmod>2024-09-16T19:15:21+02:00</lastmod>
</url>
<url>
<loc>https://webmaster442.github.io/ultimatedotnetcheatsheet//105-tasks.html</loc>
<lastmod>2024-09-16T17:09:02+02:00</lastmod>
<lastmod>2024-09-16T19:15:21+02:00</lastmod>
</url>
<url>
<loc>https://webmaster442.github.io/ultimatedotnetcheatsheet//110-io.html</loc>
<lastmod>2024-09-16T17:09:02+02:00</lastmod>
<lastmod>2024-09-16T19:15:21+02:00</lastmod>
</url>
<url>
<loc>https://webmaster442.github.io/ultimatedotnetcheatsheet//111-attribs.html</loc>
<lastmod>2024-09-16T17:09:02+02:00</lastmod>
<lastmod>2024-09-16T19:15:21+02:00</lastmod>
</url>
<url>
<loc>https://webmaster442.github.io/ultimatedotnetcheatsheet//112-serialization.html</loc>
<lastmod>2024-09-16T17:09:02+02:00</lastmod>
<lastmod>2024-09-16T19:15:21+02:00</lastmod>
</url>
<url>
<loc>https://webmaster442.github.io/ultimatedotnetcheatsheet//114-validation.html</loc>
<lastmod>2024-09-16T17:09:02+02:00</lastmod>
<lastmod>2024-09-16T19:15:21+02:00</lastmod>
</url>
<url>
<loc>https://webmaster442.github.io/ultimatedotnetcheatsheet//120-crypto.html</loc>
<lastmod>2024-09-16T17:09:02+02:00</lastmod>
<lastmod>2024-09-16T19:15:21+02:00</lastmod>
</url>
<url>
<loc>https://webmaster442.github.io/ultimatedotnetcheatsheet//130-reflection.html</loc>
<lastmod>2024-09-16T17:09:02+02:00</lastmod>
<lastmod>2024-09-16T19:15:21+02:00</lastmod>
</url>
<url>
<loc>https://webmaster442.github.io/ultimatedotnetcheatsheet//140-ui.html</loc>
<lastmod>2024-09-16T17:09:02+02:00</lastmod>
<lastmod>2024-09-16T19:15:21+02:00</lastmod>
</url>
<url>
<loc>https://webmaster442.github.io/ultimatedotnetcheatsheet//150-nuget.html</loc>
<lastmod>2024-09-16T17:09:02+02:00</lastmod>
<lastmod>2024-09-16T19:15:21+02:00</lastmod>
</url>
<url>
<loc>https://webmaster442.github.io/ultimatedotnetcheatsheet//index.html</loc>
<lastmod>2024-09-16T17:09:02+02:00</lastmod>
<lastmod>2024-09-16T19:15:21+02:00</lastmod>
</url>
<url>
<loc>https://webmaster442.github.io/ultimatedotnetcheatsheet//search.html</loc>
<lastmod>2024-09-16T17:09:02+02:00</lastmod>
<lastmod>2024-09-16T19:15:21+02:00</lastmod>
</url>
</urlset>
104 changes: 21 additions & 83 deletions frontend/TemplatePrint.html
Original file line number Diff line number Diff line change
@@ -1,95 +1,33 @@
<!DOCTYPE html>
<html>
<html prefix="og: https://ogp.me/ns#">

<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />

<link rel="icon" href="favicon.ico" type="image/x-icon" />
<link rel="apple-touch-icon" sizes="180x180" href="pwa/apple-touch-icon.png">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link
href="https://fonts.googleapis.com/css2?family=Alef:wght@400;700&family=JetBrains+Mono&family=Open+Sans:wght@700&display=swap"
rel="stylesheet">
<title>{{title}}</title>
<style type="text/css">
@page {
margin-top: 5mm;
margin-bottom: 5mm;
margin-left: 10mm;
margin-right: 10mm;
}

html {
width: 250mm;
height: 353mm;
}

body {
color: black;
background: white;
font-family: "Blogger Sans Light";
font-size: 12pt;
text-align: justify;
}

h2 {
page-break-before: always;
}

img,
svg {
max-width: 235mm;
max-height: 345mm;
margin: 0 auto;
display: inherit;
/*border: 1px solid red;*/
}

p,
pre,
code,
table {
break-inside: avoid;
}

table {
border-collapse: collapse;
width: 100%;
}

th,
td {
text-align: left;
padding: 8px;
}

tr:nth-child(even) {
background-color: #f2f2f2;
}

p code {
color: #ad1a15;
}

li code {
color: #ad1a15;
}

figure {
page-break-inside: avoid;
}

figcaption {
font-style: italic;
text-align: center;
}

pre code {
line-break: anywhere;
overflow: hidden;
}

:not(pre)>code[class*=language-],
pre[class*=language-] {
border: none;
}
{{css}}
</style>
</head>

<body>
{{content}}

<div class="container">
{{content}}
</div>

<script type="text/javascript">
window.print();
</script>

</body>

</html>
Loading

0 comments on commit a5842a7

Please sign in to comment.