-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlangs.html
More file actions
1 lines (1 loc) · 19.3 KB
/
langs.html
File metadata and controls
1 lines (1 loc) · 19.3 KB
1
<!DOCTYPE html> <html lang="en"> <head><!-- Test /--> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Documentation</title> <link rel="preload" href="/_just/S8p2N6o-.css" as="style"> <link rel="preload" href="/_just/O0e3a_J1.js" as="script"> <link href="/_just/S8p2N6o-.css" rel="stylesheet"> <script src="/_just/O0e3a_J1.js"></script> <meta name="keywords" content="Just, an, Ultimate, Site, Tool, Static, Website, GitHub, Action, Postprocessor, Compressor, Generator, Redirector, Compress, Markdown, Redirect, Generate, Documentation, Docs"> <meta property="og:title" content="Documentation"> <meta name="generator" content="Just an Ultimate Site Tool (Generator) @main 5efce42eaea6ad177204688c28ffec80a5b9e4fc"> <link rel="prefetch" href="/api-modules/pages/redirect.html"><link rel="prefetch" href="/code.html"><link rel="prefetch" href="/docs/config.html"><link rel="prefetch" href="/docs/generator/advanced-usage.html"><link rel="prefetch" href="/docs/generator/syntax.html"><link rel="prefetch" href="/docs/generator/troubleshooting.html"><link rel="prefetch" href="/docs/getting-started.html"><link rel="prefetch" href="/docs/modes/compressor.html"><link rel="prefetch" href="/docs/modes/generator.html"><link rel="prefetch" href="/docs/modes/postprocessor.html"><link rel="prefetch" href="/docs/modes/redirector.html"><link rel="prefetch" href="/docs.html"><link rel="prefetch" href="/index.html"><link rel="prefetch" href="/mattcone.html"><link rel="prefetch" href="/noheadertest.html"> <link rel="preload" href="/_just/wktf.json" as="fetch" type="application/json" crossorigin="anonymous"> <meta property="og:type" content="website"> <meta name="color-scheme" content="dark light"><meta property="twitter:card" content="summary_large_image"><meta name="just:title" content="Documentation"><meta name="twitter:title" content="Documentation"> <link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link rel="preload" href="https://fonts.googleapis.com/css2?family=Murecho:wght@100..900&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap" as="style"> <link href="https://fonts.googleapis.com/css2?family=Murecho:wght@100..900&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap" rel="stylesheet"> <link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png"> <link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png"> <link rel="icon" type="image/png" sizes="16x16" href="/img/favicon-16x16.png"> <link rel="manifest" href="/site.webmanifest"> <noscript> <style> html > body > header > nav:first-of-type > div:last-of-type, html > body > main > div:first-of-type > nav:last-of-type > div > div, html > body > main > footer > div { display: none; } html > body > header > nav:first-of-type > :nth-child(2):not(a) { left: 100% !important; translate: calc(-15px - 100%) !important; width: max-content; @media(max-width: 700px) { translate: calc(-30px - 100%) !important; } } html > body > main > div > small { display: none !important; } article div[data-link]::before { content: attr(data-link); text-decoration: underline; } article div[data-link]::before, article div[data-link]::after { color: var(--nTGuZ); } article div[data-link]::after { content: '\2197'; position: relative; display: inline-block; top: 0%; font-family: 'Murecho', var(--nTGu4), monospace, sans-serif; font-weight: 900; font-size: 11px; translate: 2px -20%; opacity: 0.5; } </style> </noscript> <style> html:before { content: '_just @main 5efce42eaea6ad177204688c28ffec80a5b9e4fc'; font-size: 13px; position: fixed; bottom: 5px; left: 5px; line-break: anywhere; margin-right: 5px; } html:after { content: 'Couldn’t load the website. (0302)'; position: fixed; top: calc(50% + 24px); width: 100%; text-align: center; font-size: 12px; opacity: 0.5; } body:before { content: 'Uh oh!'; font-size: 2em; position: fixed; top: 50%; translate: 0 calc(-100% - 6px); width: 100%; text-align: center; border-bottom: 1px solid white; white-space: nowrap; } body:after { content: 'Something went wrong.'; position: fixed; top: 50%; width: 100%; text-align: center; } html { color: white; background-color: black; } header, main { display: none; } </style> </head> <body style="--b5R: 0"><script>0</script> <header> <nav class="V7E4H"> <div class="V7E45"> <img src="/img/logo.svg" height="35" alt="Logo"style="cursor:pointer" onclick="window.location.href='/'"> </div> <div class="V7E4Y"> <a href="/docs" target="_self">Documentation</a> </div> <div class="V7E4K"> <input placeholder="Search documentation" id="wktfFdm" disabled> <span id="wktfUT">/</span> <div class="wktfB8S"></div> </div> </nav> </header> <main> <div id="FqDUN"> <nav class="b5R9"> <ul> <li style="--wktfzI2:19px;margin-bottom:-20px"><a href="/" target="_self"><span>Home</span></a></li><li style="--wktfzI2:19px;margin-bottom:-20px"><a href="/mattcone" target="_self"><span>Mattcone's Markdown Test</span></a></li><li style="--wktfzI2:19px"><a href="/langs" target="_self"><span>Syntax highlighting test</span></a></li><li style="--wktfzI2:72px"><span><a href="/docs" target="_self"><strong>Docs</strong></a></span><ul><li style="--wktfzI2:19px"><a href="/docs/config" target="_self"><span>Configurating</span></a></li><li style="--wktfzI2:19px"><a href="/docs/getting-started" target="_self"><span>Getting Started</span></a></li><li style="--wktfzI2:106px"><span><strong>Generator</strong></span><ul><li style="--wktfzI2:19px"><a href="/docs/generator/advanced-usage" target="_self"><span>Advanced usage</span></a></li><li style="--wktfzI2:19px"><a href="/docs/generator/syntax" target="_self"><span>Supported markdown syntax</span></a></li><li style="--wktfzI2:19px"><a href="/docs/generator/troubleshooting" target="_self"><span>Troubleshooting</span></a></li></ul></li><li style="--wktfzI2:140px"><span><strong>Modes</strong></span><ul><li style="--wktfzI2:19px"><a href="/docs/modes/compressor" target="_self"><span>Compressor Mode</span></a></li><li style="--wktfzI2:19px"><a href="/docs/modes/generator" target="_self"><span>Generator Mode</span></a></li><li style="--wktfzI2:19px"><a href="/docs/modes/postprocessor" target="_self"><span>Postprocessor Mode</span></a></li><li style="--wktfzI2:19px"><a href="/docs/modes/redirector" target="_self"><span>Redirector Mode</span></a></li></ul></li></ul></li> </ul> </nav> <nav class="V7E4"> <div id="wktfQnW"><span>On this page</span><ul id="wktfFyJ"><li class="wktfjr5" id="wktfFyJ0"> <a href="#Syntax%20highlighting"> <span>Syntax highlighting</span> </a> </li></ul><div class="V7E48" style="margin-top:-50px;"></div></div> </nav> <article class="IQlB2"> <p><h1 id="Syntax%20highlighting">Syntax highlighting</h1><code class="IQlBD" data-lang="JSON"><code>JSON<br></code><pre><span class="hljs-punctuation">{</span><br> <span class="xzds6">"hello"</span><span class="hljs-punctuation">:</span> <span class="xzds16">"world"</span><span class="hljs-punctuation">,</span><br> <span class="xzds6">"number"</span><span class="hljs-punctuation">:</span> <span class="xzds13">1234567890</span><span class="hljs-punctuation">,</span><br> <span class="xzds6">"array"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">[</span><span class="xzds24"><span class="xzds22">null</span></span><span class="hljs-punctuation">,</span> <span class="xzds24"><span class="xzds22">true</span></span><span class="hljs-punctuation">,</span> <span class="xzds24"><span class="xzds22">false</span></span><span class="hljs-punctuation">]</span><br><span class="hljs-punctuation">}</span><br></pre></code><br><code class="IQlBD" data-lang="JSON"><code>JSON<br></code><pre><span class="hljs-punctuation">[</span><br> <span class="xzds16">"hello"</span><span class="hljs-punctuation">,</span> <span class="xzds16">"world"</span><br><span class="hljs-punctuation">]</span><br></pre></code><br><code class="IQlBD" data-lang="JavaScript"><code>JavaScript<br></code><pre><span class="xzds22">import</span> {abc <span class="xzds22">as</span> cba} <span class="xzds22">from</span> <span class="xzds16">'../test.js'</span>;<br><span class="xzds22">const</span> abc = <span class="xzds29">require</span>(<span class="xzds16">'../../test.js'</span>);<br><span class="xzds22">class</span> <span class="class_xzds12">test</span> {<br> <span class="xzds8">constructor</span> (<span class="xzds15"></span>) {<br> <span class="xzds22">return</span> <span class="xzds24">true</span><br> }<br>}<br><span class="xzds3">console</span>.<span class="xzds8">log</span>(<span class="xzds16">'hello world'</span>);<br><span class="xzds3">console</span>.<span class="xzds8">warn</span>(<span class="xzds13">1</span> + <span class="xzds13">1</span>);<br><span class="xzds8">alert</span>(<span class="xzds24">false</span>);<br><span class="xzds22">const</span> abc = <span class="xzds24">true</span>;<br><span class="xzds22">for</span> (i = <span class="xzds13">1</span>; i <= <span class="xzds13">4</span>; i++) {<br> <span class="xzds21">// do something</span><br>};<br><span class="xzds22">switch</span> (abc) {<br> <span class="xzds22">case</span> <span class="xzds6">true</span>:<br> <span class="xzds3">window</span>.<span class="xzds26">location</span>.<span class="xzds8">replace</span>(<span class="xzds16">'https://juststudio.is-a.dev/'</span>);<br> <span class="xzds22">break</span>;<br> <span class="xzds6">default</span>:<br> <span class="xzds3">document</span>.<span class="xzds26">body</span>.<span class="xzds26">classList</span>.<span class="xzds8">add</span>(<span class="xzds16">'a'</span>);<br> <span class="xzds22">break</span>;<br>}<br><span class="xzds21">/**<br> * <span class="xzds17">@param</span> {<span class="xzds9">number</span>} <span class="xzds25">b</span><br> * <span class="xzds17">@returns</span> {<span class="xzds9">number</span>}<br> */</span><br><span class="xzds22">function</span> <span class="xzds8">a</span> (<span class="xzds15">b</span>) {<br> <span class="xzds22">return</span> b + <span class="xzds13">1</span>;<br>}<br><span class="xzds22">let</span> <span class="xzds8">c</span> = (<span class="xzds15">d</span>) => {<br> <span class="xzds22">return</span> <span class="xzds8">a</span>(d) / <span class="xzds13">2</span>;<br>}<br><span class="xzds22">var</span> <span class="xzds8">e</span> = (<span class="xzds15">f</span>) => f + f;<br><span class="xzds22">if</span> (<span class="xzds22">typeof</span> abc != <span class="xzds16">'boolean'</span>) {<br> <span class="xzds22">throw</span> <span class="xzds22">new</span> <span class="class_xzds12">Error</span>(<span class="xzds16">'error'</span>);<br>} <span class="xzds22">else</span> <span class="xzds22">if</span> (<span class="xzds13">.2</span> != <span class="xzds13">0.2</span>) {<br> <span class="xzds3">console</span>.<span class="xzds8">error</span>(<span class="xzds16">'what'</span>);<br>} <span class="xzds22">else</span> {<br> <span class="xzds22">try</span> {<br> <span class="xzds22">new</span> <span class="xzds8">test</span>();<br> } <span class="xzds22">catch</span> (_ee) {<br> <span class="xzds22">const</span> fewuhfuiwfuiweifuweiewhfiew = globalThis.<span class="xzds26">localStorage</span>.<span class="xzds8">getItem</span>(<span class="xzds16">'KEY'</span>);<br> <span class="xzds3">console</span>.<span class="xzds8">log</span>(fewuhfuiwfuiweifuweiewhfiew);<br> } <span class="xzds22">finally</span> {<br> <span class="xzds8">fetch</span>();<br> }<br>}<br></pre></code><br><code class="IQlBD" data-lang="HTML"><code>HTML<br></code><pre><span class="xzds2"><!DOCTYPE <span class="xzds22">html</span>></span><br><span class="xzds1"><<span class="xzds7">span</span> <span class="xzds6">class</span>=<span class="xzds16">"hw"</span> <span class="xzds6">id</span>=<span class="xzds16">"abc"</span>></span>Hello World!<span class="xzds1"></<span class="xzds7">span</span>></span><br></pre></code><br><code class="IQlBD" data-lang="CSS"><code>CSS<br></code><pre>* {<br> <span class="xzds32">background-color</span>: black;<br>}<br><span class="xzds34">span</span> {<br> <span class="xzds32">color</span>: white;<br>}<br><span class="xzds35">.hw</span> {<br> <span class="xzds32">border</span>: <span class="xzds13">1px</span> solid <span class="xzds13"><div style="background:#6e3bf3"></div>#6e3bf3</span>;<br>}<br><span class="xzds33">#abc</span> {<br> -webkit-<span class="xzds32">filter</span>: <span class="xzds29">blur</span>(<span class="xzds13">8em</span>);<br>}<br><span class="xzds34">div</span><span class="xzds36">:before</span> {<br> <span class="xzds32">content</span>: <span class="xzds16">'hello'</span>;<br>}<br><span class="xzds36">:root</span> {<br> <span class="xzds6">--color</span>: <span class="xzds13"><div style="background:#ffffff"></div>#ffffff</span>;<br> <span class="xzds22">@media</span>(max-width: <span class="xzds13">5px</span>) {<br> <span class="xzds6">--color</span>: <span class="xzds13"><div style="background:#000000"></div>#000000</span>;<br> }<br>}<br>::-webkit-scrollbar {<br> <span class="xzds32">width</span>: <span class="xzds13">7px</span>;<br> <span class="xzds32">height</span>: <span class="xzds13">7px</span><br>}<br></pre></code><br><code class="IQlBD" data-lang="Bash"><code>Bash<br></code><pre><span class="xzds2">#!/bin/bash</span><br><span class="xzds29">echo</span> <span class="xzds16">"Hello World!"</span><br></pre></code><br><code class="IQlBD" data-lang="Python"><code>Python<br></code><pre><span class="xzds21">#!/usr/bin/env python3</span><br><span class="xzds22">import</span> time<br>out = <span class="xzds29">int</span>(time.time() * <span class="xzds13">1000</span>)<br><span class="xzds29">print</span>(out)<br></pre></code><br><code class="IQlBD" data-lang="Lua"><code>Lua<br></code><pre><span class="xzds29">print</span>(<span class="xzds16">"hiii"</span>)<br>warn(<span class="xzds13">1</span> + <span class="xzds13">1</span>)<br><span class="xzds22">local</span> abc = <span class="xzds24">true</span><br><span class="xzds22">while</span> wait(<span class="xzds13">1</span>) <span class="xzds22">do</span><br> <span class="xzds21">-- do something</span><br><span class="xzds22">end</span><br></pre></code><br><code class="IQlBD" data-lang="Markdown"><code>Markdown<br></code><pre><span class="xzds23"># markdown inside markdown</span><br></pre></code><br><code class="IQlBD" data-lang="Go"><code>Go<br></code><pre><span class="xzds21">// go</span><br></pre></code><br><code class="IQlBD" data-lang="Go"><code>Go<br></code><pre><span class="xzds21">// golang</span><br></pre></code><br><code class="IQlBD" data-lang="Golo"><code>Golo<br></code><pre></pre></code><br><code class="IQlBD" data-lang="Golo"><code>Golo<br></code><pre></pre></code><br><code class="IQlBD" data-lang="Diff"><code>Diff<br></code><pre> text<br><span class="xzds30">+ added</span><br><span class="xzds31">- removed</span><br></pre></code></p> </article> <small>Swipe right to open the menu and swipe left to close it.</small> </div> <footer> <div> <button id="FqDUJ" title="Switch to Light Theme" type="button"> <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"> <circle cx="12" cy="12" r="5"></circle> <line x1="12" y1="1" x2="12" y2="4"></line> <line x1="12" y1="20" x2="12" y2="23"></line> <line x1="4.22" y1="4.22" x2="6.34" y2="6.34"></line> <line x1="17.66" y1="17.66" x2="19.78" y2="19.78"></line> <line x1="1" y1="12" x2="4" y2="12"></line> <line x1="20" y1="12" x2="23" y2="12"></line> <line x1="4.22" y1="19.78" x2="6.34" y2="17.66"></line> <line x1="17.66" y1="6.34" x2="19.78" y2="4.22"></line> </svg> </button> <button id="FqDU0" title="Switch to Dark Theme" type="button"> <svg xmlns="http://www.w3.org/2000/svg" height="20px" viewBox="0 -960 960 960" width="20px"> <path d="M480-120q-151 0-255.5-104.5T120-480q0-138 90-239.5T440-838q13-2 23 3.5t16 14.5q6 9 6.5 21t-7.5 23q-17 26-25.5 55t-8.5 61q0 90 63 153t153 63q31 0 61.5-9t54.5-25q11-7 22.5-6.5T819-479q10 5 15.5 15t3.5 24q-14 138-117.5 229T480-120Z"></path> </svg> </button> <button id="FqDUR" title="Switch to Dynamic Theme" type="button">A</button> </div> <span><span onclick="javascript:window.open('https://github.com/js-just/_just/blob/main/LICENSE','_blank')">Copyright © 2025 «<a href="https://juststudio.is-a.dev/" target="_blank">JustStudio.</a>»</span></span> <noscript> <style> noscript { position: fixed; } noscript:before { content: 'Please enable JavaScript in your browser settings.'; position: fixed; left: 0px; translate: 0px 62px; font-weight: bolder; font-size: 2em; width: 100%; text-align: center; height: 100%; background-color: var(--xzdsJ); outline: 20px solid var(--xzdsU); } </style> </noscript> </footer> </main> <svg xmlns="http://www.w3.org/2000/svg" width="0" height="0" style="position:absolute;overflow:hidden;"> <defs> <filter id="wktfAQ5" x="0%" y="0%" width="100%" height="100%"> <feTurbulence type="fractalNoise" baseFrequency="0.008 0.008" numOctaves="2" seed="92" result="noise"></feTurbulence> <feGaussianBlur in="noise" stdDeviation="20" result="blurred"></feGaussianBlur> <feDisplacementMap in="SourceGraphic" in2="blurred" scale="30" xChannelSelector="R" yChannelSelector="G"></feDisplacementMap> </filter> </defs> </svg> <script>__just_wktfi7={UD:[["/docs","Docs"],["/","Home"],["/mattcone","Mattcone's Markdown Test"],["/langs","Syntax highlighting test"],["/docs/config","Configurating"],["/docs/getting-started","Getting Started"],["/docs/generator/advanced-usage","Advanced usage"],["/docs/generator/syntax","Supported markdown syntax"],["/docs/generator/troubleshooting","Troubleshooting"],["/docs/modes/compressor","Compressor Mode"],["/docs/modes/generator","Generator Mode"],["/docs/modes/postprocessor","Postprocessor Mode"],["/docs/modes/redirector","Redirector Mode"]],Yp:[]};document.addEventListener('DOMContentLoaded',()=>{const wktfZ77=document.getElementById('wktfQnW');const wktfJO=()=>{return(wktfZ77.offsetTop+wktfZ77.offsetHeight)>window.innerHeight};window.addEventListener('scroll',()=>{if(wktfJO()){wktfZ77.scroll({top:document.body.style.getPropertyValue('--b5R')*20/2,behavior:'smooth'})}});});</script> </body> </html>