This commit is contained in:
McShelby 2023-06-22 17:02:00 +00:00
parent 2014618840
commit c0fd942dc6
381 changed files with 9371 additions and 9371 deletions
shortcodes/highlight

View file

@ -13,20 +13,20 @@
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/shortcodes/highlight/index.html" rel="alternate" hreflang="pir">
<link href="../../shortcodes/highlight/index.xml" rel="alternate" type="application/rss+xml" title="Highlight :: Hugo Relearn Theme">
<link href="../../shortcodes/highlight/index.print.html" rel="alternate" type="text/html" title="Highlight :: Hugo Relearn Theme">
<link href="../../images/logo.svg?1687452356" rel="icon" type="image/svg+xml">
<link href="../../images/logo.svg?1687453312" rel="icon" type="image/svg+xml">
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
<link href="../../css/fontawesome-all.min.css?1687452356" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687452356" rel="stylesheet"></noscript>
<link href="../../css/nucleus.css?1687452356" rel="stylesheet">
<link href="../../css/auto-complete.css?1687452356" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687452356" rel="stylesheet"></noscript>
<link href="../../css/perfect-scrollbar.min.css?1687452356" rel="stylesheet">
<link href="../../css/fonts.css?1687452356" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687452356" rel="stylesheet"></noscript>
<link href="../../css/theme.css?1687452356" rel="stylesheet">
<link href="../../css/theme-auto.css?1687452356" rel="stylesheet" id="variant-style">
<link href="../../css/variant.css?1687452356" rel="stylesheet">
<link href="../../css/print.css?1687452356" rel="stylesheet" media="print">
<link href="../../css/ie.css?1687452356" rel="stylesheet">
<script src="../../js/url.js?1687452356"></script>
<script src="../../js/variant.js?1687452356"></script>
<link href="../../css/fontawesome-all.min.css?1687453312" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687453312" rel="stylesheet"></noscript>
<link href="../../css/nucleus.css?1687453312" rel="stylesheet">
<link href="../../css/auto-complete.css?1687453312" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687453312" rel="stylesheet"></noscript>
<link href="../../css/perfect-scrollbar.min.css?1687453312" rel="stylesheet">
<link href="../../css/fonts.css?1687453312" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687453312" rel="stylesheet"></noscript>
<link href="../../css/theme.css?1687453312" rel="stylesheet">
<link href="../../css/theme-auto.css?1687453312" rel="stylesheet" id="variant-style">
<link href="../../css/variant.css?1687453312" rel="stylesheet">
<link href="../../css/print.css?1687453312" rel="stylesheet" media="print">
<link href="../../css/ie.css?1687453312" rel="stylesheet">
<script src="../../js/url.js?1687453312"></script>
<script src="../../js/variant.js?1687453312"></script>
<script>
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
@ -126,13 +126,13 @@
<p>You are free to also call this shortcode from your own partials. In this case it somewhat resemble Hugo&rsquo;s <a href="https://gohugo.io/functions/highlight/" target="_blank"><code>highlight</code> function</a> syntax if you call this shortcode as a partial using compatiblity syntax.</p>
<p>While the examples are using shortcodes with named parameter it is recommended to use codefences instead. This is because more and more other software supports codefences (eg. GitHub) and so your markdown becomes more portable.</p>
<div class="tab-panel" data-tab-group="a9ea6b84cc90a4b1ba2bae57bebaec97">
<div class="tab-panel" data-tab-group="ecfb55b9639e874c24da7e4ee99248ce">
<div class="tab-nav">
<div class="tab-nav-title">&#8203;</div>
<button
data-tab-item="codefence"
class="tab-nav-button tab-panel-style cstyle initial active"
onclick="switchTab('a9ea6b84cc90a4b1ba2bae57bebaec97','codefence')"
onclick="switchTab('ecfb55b9639e874c24da7e4ee99248ce','codefence')"
>
<div>
<div class="tab-nav-hidden">codefence</div>
@ -142,7 +142,7 @@
<button
data-tab-item="shortcode"
class="tab-nav-button tab-panel-style cstyle initial"
onclick="switchTab('a9ea6b84cc90a4b1ba2bae57bebaec97','shortcode')"
onclick="switchTab('ecfb55b9639e874c24da7e4ee99248ce','shortcode')"
>
<div>
<div class="tab-nav-hidden">shortcode</div>
@ -152,7 +152,7 @@
<button
data-tab-item="shortcode (positional)"
class="tab-nav-button tab-panel-style cstyle initial"
onclick="switchTab('a9ea6b84cc90a4b1ba2bae57bebaec97','shortcode (positional)')"
onclick="switchTab('ecfb55b9639e874c24da7e4ee99248ce','shortcode (positional)')"
>
<div>
<div class="tab-nav-hidden">shortcode (positional)</div>
@ -162,7 +162,7 @@
<button
data-tab-item="partial"
class="tab-nav-button tab-panel-style cstyle initial"
onclick="switchTab('a9ea6b84cc90a4b1ba2bae57bebaec97','partial')"
onclick="switchTab('ecfb55b9639e874c24da7e4ee99248ce','partial')"
>
<div>
<div class="tab-nav-hidden">partial</div>
@ -172,7 +172,7 @@
<button
data-tab-item="partial (compat)"
class="tab-nav-button tab-panel-style cstyle initial"
onclick="switchTab('a9ea6b84cc90a4b1ba2bae57bebaec97','partial (compat)')"
onclick="switchTab('ecfb55b9639e874c24da7e4ee99248ce','partial (compat)')"
>
<div>
<div class="tab-nav-hidden">partial (compat)</div>
@ -411,12 +411,12 @@
<script>
var contentLangs=['en'];
</script>
<script src="../../js/auto-complete.js?1687452357" defer></script>
<script src="../../js/lunr/lunr.min.js?1687452357" defer></script>
<script src="../../js/lunr/lunr.stemmer.support.min.js?1687452357" defer></script>
<script src="../../js/lunr/lunr.multi.min.js?1687452357" defer></script>
<script src="../../js/lunr/lunr.en.min.js?1687452357" defer></script>
<script src="../../js/search.js?1687452357" defer></script>
<script src="../../js/auto-complete.js?1687453312" defer></script>
<script src="../../js/lunr/lunr.min.js?1687453312" defer></script>
<script src="../../js/lunr/lunr.stemmer.support.min.js?1687453312" defer></script>
<script src="../../js/lunr/lunr.multi.min.js?1687453312" defer></script>
<script src="../../js/lunr/lunr.en.min.js?1687453312" defer></script>
<script src="../../js/search.js?1687453312" defer></script>
</div>
<div id="content-wrapper" class="highlightable">
<ul class="topics enlarge morespace collapsible-menu">
@ -535,12 +535,12 @@
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn" data-icon="octicon-star" data-show-count="true" aria-label="Star McShelby/hugo-theme-relearn on GitHub">Star</a>
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn/fork" data-icon="octicon-repo-forked" data-show-count="true" aria-label="Fork McShelby/hugo-theme-relearn on GitHub">Fork</a>
<p>Built with <a href="https://github.com/McShelby/hugo-theme-relearn" title="love"><i class="fas fa-heart"></i></a> by <a href="https://gohugo.io/">Hugo</a></p>
<script async src="../../js/buttons.js?1687452357"></script>
<script async src="../../js/buttons.js?1687453312"></script>
</div>
</div>
</aside>
<script src="../../js/clipboard.min.js?1687452357" defer></script>
<script src="../../js/perfect-scrollbar.min.js?1687452357" defer></script>
<script src="../../js/theme.js?1687452357" defer></script>
<script src="../../js/clipboard.min.js?1687453312" defer></script>
<script src="../../js/perfect-scrollbar.min.js?1687453312" defer></script>
<script src="../../js/theme.js?1687453312" defer></script>
</body>
</html>

View file

@ -13,21 +13,21 @@
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/shortcodes/highlight/index.html" rel="alternate" hreflang="pir">
<link href="https://McShelby.github.io/hugo-theme-relearn/shortcodes/highlight/index.html" rel="canonical" type="text/html" title="Highlight :: Hugo Relearn Theme">
<link href="../../shortcodes/highlight/index.xml" rel="alternate" type="application/rss+xml" title="Highlight :: Hugo Relearn Theme">
<link href="../../images/logo.svg?1687452356" rel="icon" type="image/svg+xml">
<link href="../../images/logo.svg?1687453312" rel="icon" type="image/svg+xml">
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
<link href="../../css/fontawesome-all.min.css?1687452359" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687452359" rel="stylesheet"></noscript>
<link href="../../css/nucleus.css?1687452359" rel="stylesheet">
<link href="../../css/auto-complete.css?1687452359" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687452359" rel="stylesheet"></noscript>
<link href="../../css/perfect-scrollbar.min.css?1687452359" rel="stylesheet">
<link href="../../css/fonts.css?1687452359" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687452359" rel="stylesheet"></noscript>
<link href="../../css/theme.css?1687452359" rel="stylesheet">
<link href="../../css/theme-auto.css?1687452359" rel="stylesheet" id="variant-style">
<link href="../../css/variant.css?1687452359" rel="stylesheet">
<link href="../../css/print.css?1687452359" rel="stylesheet" media="print">
<link href="../../css/format-print.css?1687452359" rel="stylesheet">
<link href="../../css/ie.css?1687452359" rel="stylesheet">
<script src="../../js/url.js?1687452359"></script>
<script src="../../js/variant.js?1687452359"></script>
<link href="../../css/fontawesome-all.min.css?1687453314" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687453314" rel="stylesheet"></noscript>
<link href="../../css/nucleus.css?1687453314" rel="stylesheet">
<link href="../../css/auto-complete.css?1687453314" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687453314" rel="stylesheet"></noscript>
<link href="../../css/perfect-scrollbar.min.css?1687453314" rel="stylesheet">
<link href="../../css/fonts.css?1687453314" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687453314" rel="stylesheet"></noscript>
<link href="../../css/theme.css?1687453314" rel="stylesheet">
<link href="../../css/theme-auto.css?1687453314" rel="stylesheet" id="variant-style">
<link href="../../css/variant.css?1687453314" rel="stylesheet">
<link href="../../css/print.css?1687453314" rel="stylesheet" media="print">
<link href="../../css/format-print.css?1687453314" rel="stylesheet">
<link href="../../css/ie.css?1687453314" rel="stylesheet">
<script src="../../js/url.js?1687453314"></script>
<script src="../../js/variant.js?1687453314"></script>
<script>
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
@ -84,13 +84,13 @@
<p>You are free to also call this shortcode from your own partials. In this case it somewhat resemble Hugo&rsquo;s <a href="https://gohugo.io/functions/highlight/" target="_blank"><code>highlight</code> function</a> syntax if you call this shortcode as a partial using compatiblity syntax.</p>
<p>While the examples are using shortcodes with named parameter it is recommended to use codefences instead. This is because more and more other software supports codefences (eg. GitHub) and so your markdown becomes more portable.</p>
<div class="tab-panel" data-tab-group="a9ea6b84cc90a4b1ba2bae57bebaec97">
<div class="tab-panel" data-tab-group="ecfb55b9639e874c24da7e4ee99248ce">
<div class="tab-nav">
<div class="tab-nav-title">&#8203;</div>
<button
data-tab-item="codefence"
class="tab-nav-button tab-panel-style cstyle initial active"
onclick="switchTab('a9ea6b84cc90a4b1ba2bae57bebaec97','codefence')"
onclick="switchTab('ecfb55b9639e874c24da7e4ee99248ce','codefence')"
>
<div>
<div class="tab-nav-hidden">codefence</div>
@ -100,7 +100,7 @@
<button
data-tab-item="shortcode"
class="tab-nav-button tab-panel-style cstyle initial"
onclick="switchTab('a9ea6b84cc90a4b1ba2bae57bebaec97','shortcode')"
onclick="switchTab('ecfb55b9639e874c24da7e4ee99248ce','shortcode')"
>
<div>
<div class="tab-nav-hidden">shortcode</div>
@ -110,7 +110,7 @@
<button
data-tab-item="shortcode (positional)"
class="tab-nav-button tab-panel-style cstyle initial"
onclick="switchTab('a9ea6b84cc90a4b1ba2bae57bebaec97','shortcode (positional)')"
onclick="switchTab('ecfb55b9639e874c24da7e4ee99248ce','shortcode (positional)')"
>
<div>
<div class="tab-nav-hidden">shortcode (positional)</div>
@ -120,7 +120,7 @@
<button
data-tab-item="partial"
class="tab-nav-button tab-panel-style cstyle initial"
onclick="switchTab('a9ea6b84cc90a4b1ba2bae57bebaec97','partial')"
onclick="switchTab('ecfb55b9639e874c24da7e4ee99248ce','partial')"
>
<div>
<div class="tab-nav-hidden">partial</div>
@ -130,7 +130,7 @@
<button
data-tab-item="partial (compat)"
class="tab-nav-button tab-panel-style cstyle initial"
onclick="switchTab('a9ea6b84cc90a4b1ba2bae57bebaec97','partial (compat)')"
onclick="switchTab('ecfb55b9639e874c24da7e4ee99248ce','partial (compat)')"
>
<div>
<div class="tab-nav-hidden">partial (compat)</div>
@ -292,8 +292,8 @@
</div>
</main>
</div>
<script src="../../js/clipboard.min.js?1687452359" defer></script>
<script src="../../js/perfect-scrollbar.min.js?1687452359" defer></script>
<script src="../../js/theme.js?1687452359" defer></script>
<script src="../../js/clipboard.min.js?1687453314" defer></script>
<script src="../../js/perfect-scrollbar.min.js?1687453314" defer></script>
<script src="../../js/theme.js?1687453314" defer></script>
</body>
</html>