Skip to content

Commit

Permalink
Upgrade markdeep to v1.16 to fix the subheading issue (#77)
Browse files Browse the repository at this point in the history
* Upgrade markdeep to v1.16 to fix the subheading issue and make sure markdeep.min.js is always used

* Move markdeep files into the scripts/markdeep/ folder
  • Loading branch information
painfulexistence authored Jul 7, 2024
1 parent c16400e commit a953c4e
Show file tree
Hide file tree
Showing 30 changed files with 61 additions and 9,450 deletions.
2 changes: 1 addition & 1 deletion LaTexMD/template.md.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@

<!-- Markdeep: -->
<style class="fallback">body{visibility:hidden;white-space:pre;font-family:monospace}</style>
<script src="../scripts/markdeep.js"></script>
<script src="../scripts/markdeep/markdeep.min.js"></script>
<script>window.alreadyProcessedMarkdeep||(document.body.style.visibility="visible")</script>
<link rel="stylesheet" href="../css/github-markdown.css"/>
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<!-- Load markdeep and set it to not automatically render markdown -->
<script>markdeepOptions = { mode: 'script', tocStyle: 'none' };</script>
<script src="/scripts/markdeep.min.js"></script>
<script src="/scripts/markdeep/markdeep.min.js"></script>

<title>Graphics Programming</title>
</head>
Expand Down
2 changes: 1 addition & 1 deletion resources/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<!-- Load markdeep and set it to not automatically render markdown -->
<script>markdeepOptions = { mode: 'markdeep', tocStyle: 'long' };</script>
<script src="/scripts/markdeep.min.js"></script>
<script src="/scripts/markdeep/markdeep.min.js"></script>

<title>Resources</title>
</head>
Expand Down
2 changes: 1 addition & 1 deletion resources/tonemapping/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@

<!-- Markdeep: -->
<style class="fallback">body{visibility:hidden;white-space:pre;font-family:monospace}</style>
<script src="/scripts/markdeep.js"></script>
<script src="/scripts/markdeep/markdeep.min.js"></script>
<script>window.alreadyProcessedMarkdeep||(document.body.style.visibility="visible")</script>
<link rel="stylesheet" href="/css/github-markdown.css"/>

Expand Down
4,266 changes: 0 additions & 4,266 deletions scripts/markdeep.js

This file was deleted.

5,158 changes: 0 additions & 5,158 deletions scripts/markdeep.min.js

This file was deleted.

25 changes: 25 additions & 0 deletions scripts/markdeep/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
BSD 2-Clause License

Copyright (c) 2020, Morgan McGuire
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
10 changes: 10 additions & 0 deletions scripts/markdeep/markdeep.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion showcase/2020/december/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<!-- Load markdeep and set it to not automatically render markdown -->
<script>markdeepOptions = { mode: 'script', tocStyle: 'none' };</script>
<script src="/scripts/markdeep.min.js"></script>
<script src="/scripts/markdeep/markdeep.min.js"></script>

<title>December 2020 Showcase</title>

Expand Down
2 changes: 1 addition & 1 deletion showcase/2020/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<!-- Load markdeep and set it to not automatically render markdown -->
<script>markdeepOptions = { mode: 'script', tocStyle: 'none' };</script>
<script src="/scripts/markdeep.min.js"></script>
<script src="/scripts/markdeep/markdeep.min.js"></script>
<script src="/scripts/include.js"></script>

<title>2020 Showcase</title>
Expand Down
2 changes: 1 addition & 1 deletion showcase/2020/november/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<!-- Load markdeep and set it to not automatically render markdown -->
<script>markdeepOptions = { mode: 'script', tocStyle: 'none' };</script>
<script src="/scripts/markdeep.min.js"></script>
<script src="/scripts/markdeep/markdeep.min.js"></script>

<title>November 2020 Showcase</title>

Expand Down
2 changes: 1 addition & 1 deletion showcase/2020/october/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<!-- Load markdeep and set it to not automatically render markdown -->
<script>markdeepOptions = { mode: 'script', tocStyle: 'none' };</script>
<script src="/scripts/markdeep.min.js"></script>
<script src="/scripts/markdeep/markdeep.min.js"></script>

<title>October 2020 Showcase</title>

Expand Down
2 changes: 1 addition & 1 deletion showcase/2020/year/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<!-- Load markdeep and set it to not automatically render markdown -->
<script>markdeepOptions = { mode: 'script', tocStyle: 'none' };</script>
<script src="/scripts/markdeep.min.js"></script>
<script src="/scripts/markdeep/markdeep.min.js"></script>

<title>Best of 2020 Showcase</title>

Expand Down
2 changes: 1 addition & 1 deletion showcase/2021/april/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<!-- Load markdeep and set it to not automatically render markdown -->
<script>markdeepOptions = { mode: 'script', tocStyle: 'none' };</script>
<script src="/scripts/markdeep.min.js"></script>
<script src="/scripts/markdeep/markdeep.min.js"></script>

<title>April 2021 Showcase</title>

Expand Down
2 changes: 1 addition & 1 deletion showcase/2021/august/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<!-- Load markdeep and set it to not automatically render markdown -->
<script>markdeepOptions = { mode: 'script', tocStyle: 'none' };</script>
<script src="/scripts/markdeep.min.js"></script>
<script src="/scripts/markdeep/markdeep.min.js"></script>

<title>August 2021 Showcase</title>

Expand Down
2 changes: 1 addition & 1 deletion showcase/2021/december/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

<!-- Load markdeep and set it to not automatically render markdown -->
<script>markdeepOptions = { mode: 'script', tocStyle: 'none' };</script>
<script src="/scripts/markdeep.min.js"></script>
<script src="/scripts/markdeep/markdeep.min.js"></script>

<title>December 2021 Showcase</title>

Expand Down
2 changes: 1 addition & 1 deletion showcase/2021/february/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<!-- Load markdeep and set it to not automatically render markdown -->
<script>markdeepOptions = { mode: 'script', tocStyle: 'none' };</script>
<script src="/scripts/markdeep.min.js"></script>
<script src="/scripts/markdeep/markdeep.min.js"></script>

<title>February 2021 Showcase</title>

Expand Down
2 changes: 1 addition & 1 deletion showcase/2021/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

<!-- Load markdeep and set it to not automatically render markdown -->
<script>markdeepOptions = { mode: 'script', tocStyle: 'none' };</script>
<script src="/scripts/markdeep.min.js"></script>
<script src="/scripts/markdeep/markdeep.min.js"></script>
<script src="/scripts/include.js"></script>
<title>2021 Showcase</title>
</head>
Expand Down
2 changes: 1 addition & 1 deletion showcase/2021/january/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<!-- Load markdeep and set it to not automatically render markdown -->
<script>markdeepOptions = { mode: 'script', tocStyle: 'none' };</script>
<script src="/scripts/markdeep.min.js"></script>
<script src="/scripts/markdeep/markdeep.min.js"></script>

<title>January 2021 Showcase</title>

Expand Down
2 changes: 1 addition & 1 deletion showcase/2021/july/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<!-- Load markdeep and set it to not automatically render markdown -->
<script>markdeepOptions = { mode: 'script', tocStyle: 'none' };</script>
<script src="/scripts/markdeep.min.js"></script>
<script src="/scripts/markdeep/markdeep.min.js"></script>

<title>July 2021 Showcase</title>

Expand Down
2 changes: 1 addition & 1 deletion showcase/2021/june/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<!-- Load markdeep and set it to not automatically render markdown -->
<script>markdeepOptions = { mode: 'script', tocStyle: 'none' };</script>
<script src="/scripts/markdeep.min.js"></script>
<script src="/scripts/markdeep/markdeep.min.js"></script>

<title>June 2021 Showcase</title>

Expand Down
2 changes: 1 addition & 1 deletion showcase/2021/march/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<!-- Load markdeep and set it to not automatically render markdown -->
<script>markdeepOptions = { mode: 'script', tocStyle: 'none' };</script>
<script src="/scripts/markdeep.min.js"></script>
<script src="/scripts/markdeep/markdeep.min.js"></script>

<title>March 2021 Showcase</title>

Expand Down
2 changes: 1 addition & 1 deletion showcase/2021/may/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<!-- Load markdeep and set it to not automatically render markdown -->
<script>markdeepOptions = { mode: 'script', tocStyle: 'none' };</script>
<script src="/scripts/markdeep.min.js"></script>
<script src="/scripts/markdeep/markdeep.min.js"></script>

<title>May 2021 Showcase</title>

Expand Down
2 changes: 1 addition & 1 deletion showcase/2021/november/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

<!-- Load markdeep and set it to not automatically render markdown -->
<script>markdeepOptions = { mode: 'script', tocStyle: 'none' };</script>
<script src="/scripts/markdeep.min.js"></script>
<script src="/scripts/markdeep/markdeep.min.js"></script>

<title>November 2021 Showcase</title>

Expand Down
2 changes: 1 addition & 1 deletion showcase/2021/october/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

<!-- Load markdeep and set it to not automatically render markdown -->
<script>markdeepOptions = { mode: 'script', tocStyle: 'none' };</script>
<script src="/scripts/markdeep.min.js"></script>
<script src="/scripts/markdeep/markdeep.min.js"></script>

<title>October 2021 Showcase</title>

Expand Down
2 changes: 1 addition & 1 deletion showcase/2021/september/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<!-- Load markdeep and set it to not automatically render markdown -->
<script>markdeepOptions = { mode: 'script', tocStyle: 'none' };</script>
<script src="/scripts/markdeep.min.js"></script>
<script src="/scripts/markdeep/markdeep.min.js"></script>

<title>September 2021 Showcase</title>

Expand Down
2 changes: 1 addition & 1 deletion showcase/2021/year/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<!-- Load markdeep and set it to not automatically render markdown -->
<script>markdeepOptions = { mode: 'script', tocStyle: 'none' };</script>
<script src="/scripts/markdeep.min.js"></script>
<script src="/scripts/markdeep/markdeep.min.js"></script>

<title>Best of 2021 Showcase</title>

Expand Down
2 changes: 1 addition & 1 deletion showcase/2022/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

<!-- Load markdeep and set it to not automatically render markdown -->
<script>markdeepOptions = { mode: 'script', tocStyle: 'none' };</script>
<script src="/scripts/markdeep.min.js"></script>
<script src="/scripts/markdeep/markdeep.min.js"></script>
<script src="/scripts/include.js"></script>
<title>2022 Showcase</title>
</head>
Expand Down
2 changes: 1 addition & 1 deletion showcase/2022/january/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

<!-- Load markdeep and set it to not automatically render markdown -->
<script>markdeepOptions = { mode: 'script', tocStyle: 'none' };</script>
<script src="/scripts/markdeep.min.js"></script>
<script src="/scripts/markdeep/markdeep.min.js"></script>

<title>January 2022 Showcase</title>

Expand Down
2 changes: 1 addition & 1 deletion showcase/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

<!-- Load markdeep and set it to not automatically render markdown -->
<script>markdeepOptions = { mode: 'script', tocStyle: 'none' };</script>
<script src="/scripts/markdeep.min.js"></script>
<script src="/scripts/markdeep/markdeep.min.js"></script>
<script src="/scripts/include.js"></script>

<meta property="og:title" content="Graphics Programming Showcase" />
Expand Down

0 comments on commit a953c4e

Please sign in to comment.