jekyll-theme-hydebetty 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.md +622 -0
- data/README.md +180 -0
- data/_includes/body/analytics.html +43 -0
- data/_includes/body/comments.html +6 -0
- data/_includes/body/footer.html +19 -0
- data/_includes/body/index.html +22 -0
- data/_includes/body/main.html +18 -0
- data/_includes/body/menu.html +24 -0
- data/_includes/body/nav.html +41 -0
- data/_includes/body/scripts.html +9 -0
- data/_includes/body/sidebar.html +47 -0
- data/_includes/components/about.html +8 -0
- data/_includes/components/author.html +24 -0
- data/_includes/components/avatar-tag.html +4 -0
- data/_includes/components/hy-img.html +40 -0
- data/_includes/components/link.html +12 -0
- data/_includes/components/message.html +14 -0
- data/_includes/components/pagination.html +15 -0
- data/_includes/components/post-list-item.html +7 -0
- data/_includes/components/post.html +49 -0
- data/_includes/components/related-posts.html +25 -0
- data/_includes/components/social-list-item.html +40 -0
- data/_includes/components/social.html +23 -0
- data/_includes/components/tag-list.html +26 -0
- data/_includes/head/feed-tag.html +1 -0
- data/_includes/head/index.html +9 -0
- data/_includes/head/links.html +33 -0
- data/_includes/head/meta.html +34 -0
- data/_includes/head/page-style.html +6 -0
- data/_includes/head/scripts.html +9 -0
- data/_includes/head/seo-fallback.html +13 -0
- data/_includes/head/seo-tag.html +4 -0
- data/_includes/head/styles.html +41 -0
- data/_includes/header.txt +13 -0
- data/_includes/icon-github.html +2 -0
- data/_includes/my-body.html +42 -0
- data/_includes/my-comments.html +24 -0
- data/_includes/my-head.html +13 -0
- data/_includes/my-scripts.html +55 -0
- data/_includes/scripts/cssrelpreload.min.js +1 -0
- data/_includes/scripts/load-js.js +60 -0
- data/_includes/scripts/load-js.min.js +0 -0
- data/_includes/scripts/loadCSS.min.js +1 -0
- data/_includes/scripts/nomodule.js +21 -0
- data/_includes/scripts/nomodule.min.js +0 -0
- data/_includes/scripts.html +33 -0
- data/_includes/smart-url.txt +1 -0
- data/_includes/styles/inline.scss +62 -0
- data/_includes/styles/page-style.scss +64 -0
- data/_includes/styles/style.scss +113 -0
- data/_includes/templates/animation.html +7 -0
- data/_includes/templates/back.html +6 -0
- data/_includes/templates/error.html +10 -0
- data/_includes/templates/forward.html +6 -0
- data/_includes/templates/index.html +12 -0
- data/_includes/templates/loading.html +6 -0
- data/_includes/templates/permalink.html +6 -0
- data/_layouts/about.html +43 -0
- data/_layouts/base.html +38 -0
- data/_layouts/blog.html +32 -0
- data/_layouts/compress.html +15 -0
- data/_layouts/default.html +56 -0
- data/_layouts/home.html +20 -0
- data/_layouts/list.html +46 -0
- data/_layouts/not-found.html +37 -0
- data/_layouts/page.html +27 -0
- data/_layouts/post.html +34 -0
- data/_layouts/redirect.html +23 -0
- data/_sass/_mixins.scss +63 -0
- data/_sass/_reboot-mod.scss +286 -0
- data/_sass/_spinner.scss +45 -0
- data/_sass/_syntax.scss +131 -0
- data/_sass/_variables.scss +63 -0
- data/_sass/hydejack/__inline__/_avatar.scss +48 -0
- data/_sass/hydejack/__inline__/_base.scss +73 -0
- data/_sass/hydejack/__inline__/_break-layout.scss +25 -0
- data/_sass/hydejack/__inline__/_content.scss +59 -0
- data/_sass/hydejack/__inline__/_footer.scss +25 -0
- data/_sass/hydejack/__inline__/_images.scss +38 -0
- data/_sass/hydejack/__inline__/_katex.scss +25 -0
- data/_sass/hydejack/__inline__/_links.scss +45 -0
- data/_sass/hydejack/__inline__/_mark-external.scss +25 -0
- data/_sass/hydejack/__inline__/_menu.scss +67 -0
- data/_sass/hydejack/__inline__/_sidebar.scss +144 -0
- data/_sass/hydejack/__inline__/_social.scss +58 -0
- data/_sass/hydejack/__inline__/_utilities.scss +45 -0
- data/_sass/hydejack/__link__/_avatar.scss +38 -0
- data/_sass/hydejack/__link__/_base.scss +42 -0
- data/_sass/hydejack/__link__/_break-layout.scss +64 -0
- data/_sass/hydejack/__link__/_content.scss +32 -0
- data/_sass/hydejack/__link__/_footer.scss +47 -0
- data/_sass/hydejack/__link__/_images.scss +90 -0
- data/_sass/hydejack/__link__/_katex.scss +57 -0
- data/_sass/hydejack/__link__/_links.scss +53 -0
- data/_sass/hydejack/__link__/_mark-external.scss +51 -0
- data/_sass/hydejack/__link__/_menu.scss +42 -0
- data/_sass/hydejack/__link__/_sidebar.scss +114 -0
- data/_sass/hydejack/__link__/_social.scss +33 -0
- data/_sass/hydejack/__link__/_utilities.scss +54 -0
- data/_sass/hydejack/_avatar.pre.scss +44 -0
- data/_sass/hydejack/_base.pre.scss +78 -0
- data/_sass/hydejack/_break-layout.pre.scss +55 -0
- data/_sass/hydejack/_content.pre.scss +56 -0
- data/_sass/hydejack/_footer.pre.scss +38 -0
- data/_sass/hydejack/_images.pre.scss +83 -0
- data/_sass/hydejack/_katex.pre.scss +48 -0
- data/_sass/hydejack/_links.pre.scss +47 -0
- data/_sass/hydejack/_mark-external.pre.scss +42 -0
- data/_sass/hydejack/_menu.pre.scss +74 -0
- data/_sass/hydejack/_sidebar.pre.scss +175 -0
- data/_sass/hydejack/_social.pre.scss +55 -0
- data/_sass/hydejack/_utilities.pre.scss +46 -0
- data/_sass/my-inline.scss +16 -0
- data/_sass/my-style.scss +9 -0
- data/_sass/my-variables.scss +1 -0
- data/_sass/pooleparty/__inline__/_base.scss +75 -0
- data/_sass/pooleparty/__inline__/_code.scss +25 -0
- data/_sass/pooleparty/__inline__/_footer.scss +25 -0
- data/_sass/pooleparty/__inline__/_footnotes.scss +25 -0
- data/_sass/pooleparty/__inline__/_message.scss +35 -0
- data/_sass/pooleparty/__inline__/_pagination.scss +25 -0
- data/_sass/pooleparty/__inline__/_posts.scss +49 -0
- data/_sass/pooleparty/__inline__/_read-more.scss +25 -0
- data/_sass/pooleparty/__inline__/_related.scss +38 -0
- data/_sass/pooleparty/__inline__/_table.scss +53 -0
- data/_sass/pooleparty/__inline__/_type.scss +88 -0
- data/_sass/pooleparty/__link__/_base.scss +40 -0
- data/_sass/pooleparty/__link__/_code.scss +75 -0
- data/_sass/pooleparty/__link__/_footer.scss +25 -0
- data/_sass/pooleparty/__link__/_footnotes.scss +80 -0
- data/_sass/pooleparty/__link__/_message.scss +25 -0
- data/_sass/pooleparty/__link__/_pagination.scss +90 -0
- data/_sass/pooleparty/__link__/_posts.scss +38 -0
- data/_sass/pooleparty/__link__/_read-more.scss +45 -0
- data/_sass/pooleparty/__link__/_related.scss +33 -0
- data/_sass/pooleparty/__link__/_table.scss +171 -0
- data/_sass/pooleparty/__link__/_type.scss +141 -0
- data/_sass/pooleparty/_base.pre.scss +74 -0
- data/_sass/pooleparty/_code.pre.scss +66 -0
- data/_sass/pooleparty/_footer.pre.scss +16 -0
- data/_sass/pooleparty/_footnotes.pre.scss +71 -0
- data/_sass/pooleparty/_message.pre.scss +26 -0
- data/_sass/pooleparty/_pagination.pre.scss +81 -0
- data/_sass/pooleparty/_posts.pre.scss +52 -0
- data/_sass/pooleparty/_read-more.pre.scss +36 -0
- data/_sass/pooleparty/_related.pre.scss +35 -0
- data/_sass/pooleparty/_table.pre.scss +180 -0
- data/_sass/pooleparty/_type.pre.scss +193 -0
- data/assets/Resume.pdf +0 -0
- data/assets/bower.json +11 -0
- data/assets/bower_components/html5shiv/.bower.json +26 -0
- data/assets/bower_components/html5shiv/Gruntfile.js +61 -0
- data/assets/bower_components/html5shiv/bower.json +15 -0
- data/assets/bower_components/html5shiv/dist/html5shiv-printshiv.js +524 -0
- data/assets/bower_components/html5shiv/dist/html5shiv-printshiv.min.js +4 -0
- data/assets/bower_components/html5shiv/dist/html5shiv.js +326 -0
- data/assets/bower_components/html5shiv/dist/html5shiv.min.js +4 -0
- data/assets/bower_components/html5shiv/package.json +16 -0
- data/assets/bower_components/katex/.bower.json +47 -0
- data/assets/bower_components/katex/LICENSE +21 -0
- data/assets/bower_components/katex/bower.json +36 -0
- data/assets/bower_components/katex/dist/contrib/auto-render.js +339 -0
- data/assets/bower_components/katex/dist/contrib/auto-render.min.js +1 -0
- data/assets/bower_components/katex/dist/contrib/auto-render.mjs +215 -0
- data/assets/bower_components/katex/dist/contrib/copy-tex.css +14 -0
- data/assets/bower_components/katex/dist/contrib/copy-tex.js +213 -0
- data/assets/bower_components/katex/dist/contrib/copy-tex.min.css +1 -0
- data/assets/bower_components/katex/dist/contrib/copy-tex.min.js +1 -0
- data/assets/bower_components/katex/dist/contrib/copy-tex.mjs +85 -0
- data/assets/bower_components/katex/dist/contrib/mathtex-script-type.js +137 -0
- data/assets/bower_components/katex/dist/contrib/mathtex-script-type.min.js +1 -0
- data/assets/bower_components/katex/dist/contrib/mathtex-script-type.mjs +24 -0
- data/assets/bower_components/katex/dist/contrib/mhchem.js +3241 -0
- data/assets/bower_components/katex/dist/contrib/mhchem.min.js +1 -0
- data/assets/bower_components/katex/dist/contrib/mhchem.mjs +3109 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_AMS-Regular.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_AMS-Regular.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_AMS-Regular.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Caligraphic-Bold.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Caligraphic-Bold.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Caligraphic-Bold.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Caligraphic-Regular.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Caligraphic-Regular.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Caligraphic-Regular.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Fraktur-Bold.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Fraktur-Bold.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Fraktur-Bold.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Fraktur-Regular.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Fraktur-Regular.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Fraktur-Regular.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Bold.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Bold.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Bold.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Main-BoldItalic.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Main-BoldItalic.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Main-BoldItalic.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Italic.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Italic.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Italic.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Regular.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Regular.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Regular.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Math-BoldItalic.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Math-BoldItalic.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Math-BoldItalic.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Math-Italic.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Math-Italic.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Math-Italic.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Bold.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Bold.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Bold.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Italic.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Italic.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Italic.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Regular.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Regular.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Regular.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Script-Regular.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Script-Regular.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Script-Regular.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Size1-Regular.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Size1-Regular.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Size1-Regular.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Size2-Regular.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Size2-Regular.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Size2-Regular.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Size3-Regular.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Size3-Regular.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Size3-Regular.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Size4-Regular.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Size4-Regular.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Size4-Regular.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Typewriter-Regular.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Typewriter-Regular.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Typewriter-Regular.woff2 +0 -0
- data/assets/bower_components/katex/dist/katex.css +1021 -0
- data/assets/bower_components/katex/dist/katex.js +16809 -0
- data/assets/bower_components/katex/dist/katex.min.css +1 -0
- data/assets/bower_components/katex/dist/katex.min.js +1 -0
- data/assets/bower_components/katex/dist/katex.mjs +16342 -0
- data/assets/bower_components/katex/yarn.lock +8952 -0
- data/assets/css/hydejack-7.5.2.css +3 -0
- data/assets/css/hydejack-8.5.2.css +3 -0
- data/assets/icomoon/fonts/icomoon.eot +0 -0
- data/assets/icomoon/fonts/icomoon.svg +96 -0
- data/assets/icomoon/fonts/icomoon.ttf +0 -0
- data/assets/icomoon/fonts/icomoon.woff +0 -0
- data/assets/icomoon/selection.json +1 -0
- data/assets/icomoon/style.css +284 -0
- data/assets/icons/favicon.ico +0 -0
- data/assets/icons/icon.png +0 -0
- data/assets/icons/icon@0,25x.png +0 -0
- data/assets/icons/icon@0,5x.png +0 -0
- data/assets/icons/icon@0,75x.png +0 -0
- data/assets/icons/icon@2x.png +0 -0
- data/assets/icons/icon@3x.png +0 -0
- data/assets/icons/tile-large.png +0 -0
- data/assets/icons/tile-medium.png +0 -0
- data/assets/icons/tile-small.png +0 -0
- data/assets/icons/tile-wide.png +0 -0
- data/assets/ieconfig.xml +15 -0
- data/assets/img/blog/COLOURlovers.com-Hydejack.png +0 -0
- data/assets/img/blog/blog-layout.jpg +0 -0
- data/assets/img/blog/caleb-george-old.jpg +0 -0
- data/assets/img/blog/caleb-george.jpg +0 -0
- data/assets/img/blog/cover-page.jpg +0 -0
- data/assets/img/blog/dark-mode-ii.jpg +0 -0
- data/assets/img/blog/dark-mode.jpg +0 -0
- data/assets/img/blog/example-content-ii.jpg +0 -0
- data/assets/img/blog/example-content-iii.jpg +0 -0
- data/assets/img/blog/hydejack-8.png +0 -0
- data/assets/img/blog/hydejack-8@0,25x.png +0 -0
- data/assets/img/blog/hydejack-8@0,5x.png +0 -0
- data/assets/img/blog/lazy-images.jpg +0 -0
- data/assets/img/blog/louis-hansel.jpg +0 -0
- data/assets/img/blog/resume.png +0 -0
- data/assets/img/blog/steve-harvey.jpg +0 -0
- data/assets/img/blog/w3m.png +0 -0
- data/assets/img/blog/wade-lambert.jpg +0 -0
- data/assets/img/docs/google-fonts.png +0 -0
- data/assets/img/projects/hy-drawer.svg +12 -0
- data/assets/img/projects/hy-img.svg +17 -0
- data/assets/img/projects/hy-push-state.svg +13 -0
- data/assets/img/sidebar-bg.jpg +0 -0
- data/assets/img/swipe.svg +22 -0
- data/assets/js/hydejack-8.5.2.js +161 -0
- data/assets/js/hydejack-legacy-8.5.2.js +190 -0
- data/assets/manifest.json +46 -0
- data/assets/version.json +3 -0
- data/assets/video/blog-layout.mp4 +0 -0
- data/assets/video/cover-page.mp4 +0 -0
- data/assets/video/dark-mode.mp4 +0 -0
- data/assets/video/lazy-images.mp4 +0 -0
- data/licenses/Apache-2.0.md +208 -0
- data/licenses/GPL-3.0.md +620 -0
- data/licenses/MIT.md +21 -0
- data/licenses/PRO.md +136 -0
- data/licenses/README.md +10 -0
- data/licenses/W3C.md +31 -0
- metadata +385 -0
@@ -0,0 +1,14 @@
|
|
1
|
+
/* Force selection of entire .katex/.katex-display blocks, so that we can
|
2
|
+
* copy/paste the entire source code. If you omit this CSS, partial
|
3
|
+
* selections of a formula will work, but will copy the ugly HTML
|
4
|
+
* representation instead of the LaTeX source code. (Full selections will
|
5
|
+
* still produce the LaTeX source code.)
|
6
|
+
*/
|
7
|
+
.katex,
|
8
|
+
.katex-display {
|
9
|
+
user-select: all;
|
10
|
+
-moz-user-select: all;
|
11
|
+
-webkit-user-select: all;
|
12
|
+
-ms-user-select: all;
|
13
|
+
}
|
14
|
+
|
@@ -0,0 +1,213 @@
|
|
1
|
+
(function webpackUniversalModuleDefinition(root, factory) {
|
2
|
+
if(typeof exports === 'object' && typeof module === 'object')
|
3
|
+
module.exports = factory();
|
4
|
+
else if(typeof define === 'function' && define.amd)
|
5
|
+
define([], factory);
|
6
|
+
else {
|
7
|
+
var a = factory();
|
8
|
+
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
9
|
+
}
|
10
|
+
})((typeof self !== 'undefined' ? self : this), function() {
|
11
|
+
return /******/ (function(modules) { // webpackBootstrap
|
12
|
+
/******/ // The module cache
|
13
|
+
/******/ var installedModules = {};
|
14
|
+
/******/
|
15
|
+
/******/ // The require function
|
16
|
+
/******/ function __webpack_require__(moduleId) {
|
17
|
+
/******/
|
18
|
+
/******/ // Check if module is in cache
|
19
|
+
/******/ if(installedModules[moduleId]) {
|
20
|
+
/******/ return installedModules[moduleId].exports;
|
21
|
+
/******/ }
|
22
|
+
/******/ // Create a new module (and put it into the cache)
|
23
|
+
/******/ var module = installedModules[moduleId] = {
|
24
|
+
/******/ i: moduleId,
|
25
|
+
/******/ l: false,
|
26
|
+
/******/ exports: {}
|
27
|
+
/******/ };
|
28
|
+
/******/
|
29
|
+
/******/ // Execute the module function
|
30
|
+
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
31
|
+
/******/
|
32
|
+
/******/ // Flag the module as loaded
|
33
|
+
/******/ module.l = true;
|
34
|
+
/******/
|
35
|
+
/******/ // Return the exports of the module
|
36
|
+
/******/ return module.exports;
|
37
|
+
/******/ }
|
38
|
+
/******/
|
39
|
+
/******/
|
40
|
+
/******/ // expose the modules object (__webpack_modules__)
|
41
|
+
/******/ __webpack_require__.m = modules;
|
42
|
+
/******/
|
43
|
+
/******/ // expose the module cache
|
44
|
+
/******/ __webpack_require__.c = installedModules;
|
45
|
+
/******/
|
46
|
+
/******/ // define getter function for harmony exports
|
47
|
+
/******/ __webpack_require__.d = function(exports, name, getter) {
|
48
|
+
/******/ if(!__webpack_require__.o(exports, name)) {
|
49
|
+
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
50
|
+
/******/ }
|
51
|
+
/******/ };
|
52
|
+
/******/
|
53
|
+
/******/ // define __esModule on exports
|
54
|
+
/******/ __webpack_require__.r = function(exports) {
|
55
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
56
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
57
|
+
/******/ }
|
58
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
59
|
+
/******/ };
|
60
|
+
/******/
|
61
|
+
/******/ // create a fake namespace object
|
62
|
+
/******/ // mode & 1: value is a module id, require it
|
63
|
+
/******/ // mode & 2: merge all properties of value into the ns
|
64
|
+
/******/ // mode & 4: return value when already ns object
|
65
|
+
/******/ // mode & 8|1: behave like require
|
66
|
+
/******/ __webpack_require__.t = function(value, mode) {
|
67
|
+
/******/ if(mode & 1) value = __webpack_require__(value);
|
68
|
+
/******/ if(mode & 8) return value;
|
69
|
+
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
70
|
+
/******/ var ns = Object.create(null);
|
71
|
+
/******/ __webpack_require__.r(ns);
|
72
|
+
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
73
|
+
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
74
|
+
/******/ return ns;
|
75
|
+
/******/ };
|
76
|
+
/******/
|
77
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
78
|
+
/******/ __webpack_require__.n = function(module) {
|
79
|
+
/******/ var getter = module && module.__esModule ?
|
80
|
+
/******/ function getDefault() { return module['default']; } :
|
81
|
+
/******/ function getModuleExports() { return module; };
|
82
|
+
/******/ __webpack_require__.d(getter, 'a', getter);
|
83
|
+
/******/ return getter;
|
84
|
+
/******/ };
|
85
|
+
/******/
|
86
|
+
/******/ // Object.prototype.hasOwnProperty.call
|
87
|
+
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
88
|
+
/******/
|
89
|
+
/******/ // __webpack_public_path__
|
90
|
+
/******/ __webpack_require__.p = "";
|
91
|
+
/******/
|
92
|
+
/******/
|
93
|
+
/******/ // Load entry module and return exports
|
94
|
+
/******/ return __webpack_require__(__webpack_require__.s = 1);
|
95
|
+
/******/ })
|
96
|
+
/************************************************************************/
|
97
|
+
/******/ ([
|
98
|
+
/* 0 */
|
99
|
+
/***/ (function(module, exports, __webpack_require__) {
|
100
|
+
|
101
|
+
// extracted by mini-css-extract-plugin
|
102
|
+
|
103
|
+
/***/ }),
|
104
|
+
/* 1 */
|
105
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
106
|
+
|
107
|
+
"use strict";
|
108
|
+
__webpack_require__.r(__webpack_exports__);
|
109
|
+
|
110
|
+
// EXTERNAL MODULE: ./contrib/copy-tex/copy-tex.css
|
111
|
+
var copy_tex = __webpack_require__(0);
|
112
|
+
|
113
|
+
// CONCATENATED MODULE: ./contrib/copy-tex/katex2tex.js
|
114
|
+
// Set these to how you want inline and display math to be delimited.
|
115
|
+
var defaultCopyDelimiters = {
|
116
|
+
inline: ['$', '$'],
|
117
|
+
// alternative: ['\(', '\)']
|
118
|
+
display: ['$$', '$$'] // alternative: ['\[', '\]']
|
119
|
+
|
120
|
+
}; // Replace .katex elements with their TeX source (<annotation> element).
|
121
|
+
// Modifies fragment in-place. Useful for writing your own 'copy' handler,
|
122
|
+
// as in copy-tex.js.
|
123
|
+
|
124
|
+
var katexReplaceWithTex = function katexReplaceWithTex(fragment, copyDelimiters) {
|
125
|
+
if (copyDelimiters === void 0) {
|
126
|
+
copyDelimiters = defaultCopyDelimiters;
|
127
|
+
}
|
128
|
+
|
129
|
+
// Remove .katex-html blocks that are preceded by .katex-mathml blocks
|
130
|
+
// (which will get replaced below).
|
131
|
+
var katexHtml = fragment.querySelectorAll('.katex-mathml + .katex-html');
|
132
|
+
|
133
|
+
for (var i = 0; i < katexHtml.length; i++) {
|
134
|
+
var element = katexHtml[i];
|
135
|
+
|
136
|
+
if (element.remove) {
|
137
|
+
element.remove(null);
|
138
|
+
} else {
|
139
|
+
element.parentNode.removeChild(element);
|
140
|
+
}
|
141
|
+
} // Replace .katex-mathml elements with their annotation (TeX source)
|
142
|
+
// descendant, with inline delimiters.
|
143
|
+
|
144
|
+
|
145
|
+
var katexMathml = fragment.querySelectorAll('.katex-mathml');
|
146
|
+
|
147
|
+
for (var _i = 0; _i < katexMathml.length; _i++) {
|
148
|
+
var _element = katexMathml[_i];
|
149
|
+
|
150
|
+
var texSource = _element.querySelector('annotation');
|
151
|
+
|
152
|
+
if (texSource) {
|
153
|
+
if (_element.replaceWith) {
|
154
|
+
_element.replaceWith(texSource);
|
155
|
+
} else {
|
156
|
+
_element.parentNode.replaceChild(texSource, _element);
|
157
|
+
}
|
158
|
+
|
159
|
+
texSource.innerHTML = copyDelimiters.inline[0] + texSource.innerHTML + copyDelimiters.inline[1];
|
160
|
+
}
|
161
|
+
} // Switch display math to display delimiters.
|
162
|
+
|
163
|
+
|
164
|
+
var displays = fragment.querySelectorAll('.katex-display annotation');
|
165
|
+
|
166
|
+
for (var _i2 = 0; _i2 < displays.length; _i2++) {
|
167
|
+
var _element2 = displays[_i2];
|
168
|
+
_element2.innerHTML = copyDelimiters.display[0] + _element2.innerHTML.substr(copyDelimiters.inline[0].length, _element2.innerHTML.length - copyDelimiters.inline[0].length - copyDelimiters.inline[1].length) + copyDelimiters.display[1];
|
169
|
+
}
|
170
|
+
|
171
|
+
return fragment;
|
172
|
+
};
|
173
|
+
/* harmony default export */ var katex2tex = (katexReplaceWithTex);
|
174
|
+
// CONCATENATED MODULE: ./contrib/copy-tex/copy-tex.js
|
175
|
+
// Global copy handler to modify behavior on .katex elements.
|
176
|
+
|
177
|
+
document.addEventListener('copy', function (event) {
|
178
|
+
var selection = window.getSelection();
|
179
|
+
|
180
|
+
if (selection.isCollapsed) {
|
181
|
+
return; // default action OK if selection is empty
|
182
|
+
}
|
183
|
+
|
184
|
+
var fragment = selection.getRangeAt(0).cloneContents();
|
185
|
+
|
186
|
+
if (!fragment.querySelector('.katex-mathml')) {
|
187
|
+
return; // default action OK if no .katex-mathml elements
|
188
|
+
} // Preserve usual HTML copy/paste behavior.
|
189
|
+
|
190
|
+
|
191
|
+
var html = [];
|
192
|
+
|
193
|
+
for (var i = 0; i < fragment.childNodes.length; i++) {
|
194
|
+
html.push(fragment.childNodes[i].outerHTML);
|
195
|
+
}
|
196
|
+
|
197
|
+
event.clipboardData.setData('text/html', html.join('')); // Rewrite plain-text version.
|
198
|
+
|
199
|
+
event.clipboardData.setData('text/plain', katex2tex(fragment).textContent); // Prevent normal copy handling.
|
200
|
+
|
201
|
+
event.preventDefault();
|
202
|
+
});
|
203
|
+
// CONCATENATED MODULE: ./contrib/copy-tex/copy-tex.webpack.js
|
204
|
+
/**
|
205
|
+
* This is the webpack entry point for KaTeX. As ECMAScript doesn't support
|
206
|
+
* CSS modules natively, a separate entry point is used.
|
207
|
+
*/
|
208
|
+
|
209
|
+
|
210
|
+
|
211
|
+
/***/ })
|
212
|
+
/******/ ])["default"];
|
213
|
+
});
|
@@ -0,0 +1 @@
|
|
1
|
+
.katex,.katex-display{user-select:all;-moz-user-select:all;-webkit-user-select:all;-ms-user-select:all}
|
@@ -0,0 +1 @@
|
|
1
|
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n=t();for(var r in n)("object"==typeof exports?exports:e)[r]=n[r]}}("undefined"!=typeof self?self:this,function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=1)}([function(e,t,n){},function(e,t,n){"use strict";n.r(t);n(0);var r={inline:["$","$"],display:["$$","$$"]},o=function(e,t){void 0===t&&(t=r);for(var n=e.querySelectorAll(".katex-mathml + .katex-html"),o=0;o<n.length;o++){var l=n[o];l.remove?l.remove(null):l.parentNode.removeChild(l)}for(var i=e.querySelectorAll(".katex-mathml"),a=0;a<i.length;a++){var u=i[a],f=u.querySelector("annotation");f&&(u.replaceWith?u.replaceWith(f):u.parentNode.replaceChild(f,u),f.innerHTML=t.inline[0]+f.innerHTML+t.inline[1])}for(var c=e.querySelectorAll(".katex-display annotation"),d=0;d<c.length;d++){var p=c[d];p.innerHTML=t.display[0]+p.innerHTML.substr(t.inline[0].length,p.innerHTML.length-t.inline[0].length-t.inline[1].length)+t.display[1]}return e};document.addEventListener("copy",function(e){var t=window.getSelection();if(!t.isCollapsed){var n=t.getRangeAt(0).cloneContents();if(n.querySelector(".katex-mathml")){for(var r=[],l=0;l<n.childNodes.length;l++)r.push(n.childNodes[l].outerHTML);e.clipboardData.setData("text/html",r.join("")),e.clipboardData.setData("text/plain",o(n).textContent),e.preventDefault()}}})}]).default});
|
@@ -0,0 +1,85 @@
|
|
1
|
+
// Set these to how you want inline and display math to be delimited.
|
2
|
+
const defaultCopyDelimiters = {
|
3
|
+
inline: ['$', '$'],
|
4
|
+
// alternative: ['\(', '\)']
|
5
|
+
display: ['$$', '$$'] // alternative: ['\[', '\]']
|
6
|
+
|
7
|
+
}; // Replace .katex elements with their TeX source (<annotation> element).
|
8
|
+
// Modifies fragment in-place. Useful for writing your own 'copy' handler,
|
9
|
+
// as in copy-tex.js.
|
10
|
+
|
11
|
+
const katexReplaceWithTex = function katexReplaceWithTex(fragment, copyDelimiters) {
|
12
|
+
if (copyDelimiters === void 0) {
|
13
|
+
copyDelimiters = defaultCopyDelimiters;
|
14
|
+
}
|
15
|
+
|
16
|
+
// Remove .katex-html blocks that are preceded by .katex-mathml blocks
|
17
|
+
// (which will get replaced below).
|
18
|
+
const katexHtml = fragment.querySelectorAll('.katex-mathml + .katex-html');
|
19
|
+
|
20
|
+
for (let i = 0; i < katexHtml.length; i++) {
|
21
|
+
const element = katexHtml[i];
|
22
|
+
|
23
|
+
if (element.remove) {
|
24
|
+
element.remove(null);
|
25
|
+
} else {
|
26
|
+
element.parentNode.removeChild(element);
|
27
|
+
}
|
28
|
+
} // Replace .katex-mathml elements with their annotation (TeX source)
|
29
|
+
// descendant, with inline delimiters.
|
30
|
+
|
31
|
+
|
32
|
+
const katexMathml = fragment.querySelectorAll('.katex-mathml');
|
33
|
+
|
34
|
+
for (let i = 0; i < katexMathml.length; i++) {
|
35
|
+
const element = katexMathml[i];
|
36
|
+
const texSource = element.querySelector('annotation');
|
37
|
+
|
38
|
+
if (texSource) {
|
39
|
+
if (element.replaceWith) {
|
40
|
+
element.replaceWith(texSource);
|
41
|
+
} else {
|
42
|
+
element.parentNode.replaceChild(texSource, element);
|
43
|
+
}
|
44
|
+
|
45
|
+
texSource.innerHTML = copyDelimiters.inline[0] + texSource.innerHTML + copyDelimiters.inline[1];
|
46
|
+
}
|
47
|
+
} // Switch display math to display delimiters.
|
48
|
+
|
49
|
+
|
50
|
+
const displays = fragment.querySelectorAll('.katex-display annotation');
|
51
|
+
|
52
|
+
for (let i = 0; i < displays.length; i++) {
|
53
|
+
const element = displays[i];
|
54
|
+
element.innerHTML = copyDelimiters.display[0] + element.innerHTML.substr(copyDelimiters.inline[0].length, element.innerHTML.length - copyDelimiters.inline[0].length - copyDelimiters.inline[1].length) + copyDelimiters.display[1];
|
55
|
+
}
|
56
|
+
|
57
|
+
return fragment;
|
58
|
+
};
|
59
|
+
|
60
|
+
document.addEventListener('copy', function (event) {
|
61
|
+
const selection = window.getSelection();
|
62
|
+
|
63
|
+
if (selection.isCollapsed) {
|
64
|
+
return; // default action OK if selection is empty
|
65
|
+
}
|
66
|
+
|
67
|
+
const fragment = selection.getRangeAt(0).cloneContents();
|
68
|
+
|
69
|
+
if (!fragment.querySelector('.katex-mathml')) {
|
70
|
+
return; // default action OK if no .katex-mathml elements
|
71
|
+
} // Preserve usual HTML copy/paste behavior.
|
72
|
+
|
73
|
+
|
74
|
+
const html = [];
|
75
|
+
|
76
|
+
for (let i = 0; i < fragment.childNodes.length; i++) {
|
77
|
+
html.push(fragment.childNodes[i].outerHTML);
|
78
|
+
}
|
79
|
+
|
80
|
+
event.clipboardData.setData('text/html', html.join('')); // Rewrite plain-text version.
|
81
|
+
|
82
|
+
event.clipboardData.setData('text/plain', katexReplaceWithTex(fragment).textContent); // Prevent normal copy handling.
|
83
|
+
|
84
|
+
event.preventDefault();
|
85
|
+
});
|
@@ -0,0 +1,137 @@
|
|
1
|
+
(function webpackUniversalModuleDefinition(root, factory) {
|
2
|
+
if(typeof exports === 'object' && typeof module === 'object')
|
3
|
+
module.exports = factory(require("katex"));
|
4
|
+
else if(typeof define === 'function' && define.amd)
|
5
|
+
define(["katex"], factory);
|
6
|
+
else {
|
7
|
+
var a = typeof exports === 'object' ? factory(require("katex")) : factory(root["katex"]);
|
8
|
+
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
9
|
+
}
|
10
|
+
})((typeof self !== 'undefined' ? self : this), function(__WEBPACK_EXTERNAL_MODULE__0__) {
|
11
|
+
return /******/ (function(modules) { // webpackBootstrap
|
12
|
+
/******/ // The module cache
|
13
|
+
/******/ var installedModules = {};
|
14
|
+
/******/
|
15
|
+
/******/ // The require function
|
16
|
+
/******/ function __webpack_require__(moduleId) {
|
17
|
+
/******/
|
18
|
+
/******/ // Check if module is in cache
|
19
|
+
/******/ if(installedModules[moduleId]) {
|
20
|
+
/******/ return installedModules[moduleId].exports;
|
21
|
+
/******/ }
|
22
|
+
/******/ // Create a new module (and put it into the cache)
|
23
|
+
/******/ var module = installedModules[moduleId] = {
|
24
|
+
/******/ i: moduleId,
|
25
|
+
/******/ l: false,
|
26
|
+
/******/ exports: {}
|
27
|
+
/******/ };
|
28
|
+
/******/
|
29
|
+
/******/ // Execute the module function
|
30
|
+
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
31
|
+
/******/
|
32
|
+
/******/ // Flag the module as loaded
|
33
|
+
/******/ module.l = true;
|
34
|
+
/******/
|
35
|
+
/******/ // Return the exports of the module
|
36
|
+
/******/ return module.exports;
|
37
|
+
/******/ }
|
38
|
+
/******/
|
39
|
+
/******/
|
40
|
+
/******/ // expose the modules object (__webpack_modules__)
|
41
|
+
/******/ __webpack_require__.m = modules;
|
42
|
+
/******/
|
43
|
+
/******/ // expose the module cache
|
44
|
+
/******/ __webpack_require__.c = installedModules;
|
45
|
+
/******/
|
46
|
+
/******/ // define getter function for harmony exports
|
47
|
+
/******/ __webpack_require__.d = function(exports, name, getter) {
|
48
|
+
/******/ if(!__webpack_require__.o(exports, name)) {
|
49
|
+
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
50
|
+
/******/ }
|
51
|
+
/******/ };
|
52
|
+
/******/
|
53
|
+
/******/ // define __esModule on exports
|
54
|
+
/******/ __webpack_require__.r = function(exports) {
|
55
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
56
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
57
|
+
/******/ }
|
58
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
59
|
+
/******/ };
|
60
|
+
/******/
|
61
|
+
/******/ // create a fake namespace object
|
62
|
+
/******/ // mode & 1: value is a module id, require it
|
63
|
+
/******/ // mode & 2: merge all properties of value into the ns
|
64
|
+
/******/ // mode & 4: return value when already ns object
|
65
|
+
/******/ // mode & 8|1: behave like require
|
66
|
+
/******/ __webpack_require__.t = function(value, mode) {
|
67
|
+
/******/ if(mode & 1) value = __webpack_require__(value);
|
68
|
+
/******/ if(mode & 8) return value;
|
69
|
+
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
70
|
+
/******/ var ns = Object.create(null);
|
71
|
+
/******/ __webpack_require__.r(ns);
|
72
|
+
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
73
|
+
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
74
|
+
/******/ return ns;
|
75
|
+
/******/ };
|
76
|
+
/******/
|
77
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
78
|
+
/******/ __webpack_require__.n = function(module) {
|
79
|
+
/******/ var getter = module && module.__esModule ?
|
80
|
+
/******/ function getDefault() { return module['default']; } :
|
81
|
+
/******/ function getModuleExports() { return module; };
|
82
|
+
/******/ __webpack_require__.d(getter, 'a', getter);
|
83
|
+
/******/ return getter;
|
84
|
+
/******/ };
|
85
|
+
/******/
|
86
|
+
/******/ // Object.prototype.hasOwnProperty.call
|
87
|
+
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
88
|
+
/******/
|
89
|
+
/******/ // __webpack_public_path__
|
90
|
+
/******/ __webpack_require__.p = "";
|
91
|
+
/******/
|
92
|
+
/******/
|
93
|
+
/******/ // Load entry module and return exports
|
94
|
+
/******/ return __webpack_require__(__webpack_require__.s = 1);
|
95
|
+
/******/ })
|
96
|
+
/************************************************************************/
|
97
|
+
/******/ ([
|
98
|
+
/* 0 */
|
99
|
+
/***/ (function(module, exports) {
|
100
|
+
|
101
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__0__;
|
102
|
+
|
103
|
+
/***/ }),
|
104
|
+
/* 1 */
|
105
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
106
|
+
|
107
|
+
"use strict";
|
108
|
+
__webpack_require__.r(__webpack_exports__);
|
109
|
+
/* harmony import */ var katex__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
|
110
|
+
/* harmony import */ var katex__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(katex__WEBPACK_IMPORTED_MODULE_0__);
|
111
|
+
|
112
|
+
var scripts = document.body.getElementsByTagName("script");
|
113
|
+
scripts = Array.prototype.slice.call(scripts);
|
114
|
+
scripts.forEach(function (script) {
|
115
|
+
if (!script.type || !script.type.match(/math\/tex/i)) {
|
116
|
+
return -1;
|
117
|
+
}
|
118
|
+
|
119
|
+
var display = script.type.match(/mode\s*=\s*display(;|\s|\n|$)/) != null;
|
120
|
+
var katexElement = document.createElement(display ? "div" : "span");
|
121
|
+
katexElement.setAttribute("class", display ? "equation" : "inline-equation");
|
122
|
+
|
123
|
+
try {
|
124
|
+
katex__WEBPACK_IMPORTED_MODULE_0___default.a.render(script.text, katexElement, {
|
125
|
+
displayMode: display
|
126
|
+
});
|
127
|
+
} catch (err) {
|
128
|
+
//console.error(err); linter doesn't like this
|
129
|
+
katexElement.textContent = script.text;
|
130
|
+
}
|
131
|
+
|
132
|
+
script.parentNode.replaceChild(katexElement, script);
|
133
|
+
});
|
134
|
+
|
135
|
+
/***/ })
|
136
|
+
/******/ ])["default"];
|
137
|
+
});
|