Skip to content

Commit a953c4e

Browse files
Upgrade markdeep to v1.16 to fix the subheading issue (#77)
* 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
1 parent c16400e commit a953c4e

File tree

30 files changed

+61
-9450
lines changed

30 files changed

+61
-9450
lines changed

LaTexMD/template.md.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@
1515

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

index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

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

2020
<title>Graphics Programming</title>
2121
</head>

resources/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

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

2020
<title>Resources</title>
2121
</head>

resources/tonemapping/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@
328328

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

scripts/markdeep.js

-4,266
This file was deleted.

scripts/markdeep.min.js

-5,158
This file was deleted.

scripts/markdeep/LICENSE

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
BSD 2-Clause License
2+
3+
Copyright (c) 2020, Morgan McGuire
4+
All rights reserved.
5+
6+
Redistribution and use in source and binary forms, with or without
7+
modification, are permitted provided that the following conditions are met:
8+
9+
1. Redistributions of source code must retain the above copyright notice, this
10+
list of conditions and the following disclaimer.
11+
12+
2. Redistributions in binary form must reproduce the above copyright notice,
13+
this list of conditions and the following disclaimer in the documentation
14+
and/or other materials provided with the distribution.
15+
16+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
17+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
20+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
22+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
23+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
24+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
25+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

scripts/markdeep/markdeep.min.js

+10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

showcase/2020/december/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

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

2020
<title>December 2020 Showcase</title>
2121

showcase/2020/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

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

2121
<title>2020 Showcase</title>

showcase/2020/november/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

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

2020
<title>November 2020 Showcase</title>
2121

showcase/2020/october/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

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

2020
<title>October 2020 Showcase</title>
2121

showcase/2020/year/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

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

2020
<title>Best of 2020 Showcase</title>
2121

showcase/2021/april/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

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

2020
<title>April 2021 Showcase</title>
2121

showcase/2021/august/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

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

2020
<title>August 2021 Showcase</title>
2121

showcase/2021/december/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

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

2727
<title>December 2021 Showcase</title>
2828

showcase/2021/february/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

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

2020
<title>February 2021 Showcase</title>
2121

showcase/2021/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
<!-- Load markdeep and set it to not automatically render markdown -->
2424
<script>markdeepOptions = { mode: 'script', tocStyle: 'none' };</script>
25-
<script src="/scripts/markdeep.min.js"></script>
25+
<script src="/scripts/markdeep/markdeep.min.js"></script>
2626
<script src="/scripts/include.js"></script>
2727
<title>2021 Showcase</title>
2828
</head>

showcase/2021/january/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

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

2020
<title>January 2021 Showcase</title>
2121

showcase/2021/july/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

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

2020
<title>July 2021 Showcase</title>
2121

showcase/2021/june/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

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

2020
<title>June 2021 Showcase</title>
2121

showcase/2021/march/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

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

2020
<title>March 2021 Showcase</title>
2121

showcase/2021/may/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

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

2020
<title>May 2021 Showcase</title>
2121

showcase/2021/november/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

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

2727
<title>November 2021 Showcase</title>
2828

showcase/2021/october/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

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

2727
<title>October 2021 Showcase</title>
2828

showcase/2021/september/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

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

2020
<title>September 2021 Showcase</title>
2121

showcase/2021/year/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

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

2020
<title>Best of 2021 Showcase</title>
2121

showcase/2022/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
<!-- Load markdeep and set it to not automatically render markdown -->
2424
<script>markdeepOptions = { mode: 'script', tocStyle: 'none' };</script>
25-
<script src="/scripts/markdeep.min.js"></script>
25+
<script src="/scripts/markdeep/markdeep.min.js"></script>
2626
<script src="/scripts/include.js"></script>
2727
<title>2022 Showcase</title>
2828
</head>

showcase/2022/january/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

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

2727
<title>January 2022 Showcase</title>
2828

showcase/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

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

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

0 commit comments

Comments
 (0)