We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.numberLines
code block
It seems that Skylighting outputs the code for numbered lines But you add a conditional .numberLines and .numberSource to view them. ⚠️ Current Anki highlighting themes don't allow for numbered lines (yet)
It seems that Skylighting outputs the code for numbered lines But you add a conditional .numberLines and .numberSource to view them.
.numberSource
⚠️ Current Anki highlighting themes don't allow for numbered lines (yet)
<div class="sourceCode" id="cb2"><pre class="sourceCode elm"><code class="sourceCode elm"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a><span class="co">-- !# Error (1) and (2):</span></span> <span id="cb2-2"><a href="#cb2-2" aria-hidden="true" tabindex="-1"></a><span class="co">-- Must be `CapitalCase`</span></span> <span id="cb2-3"><a href="#cb2-3" aria-hidden="true" tabindex="-1"></a><span class="kw">type</span> <span class="dt">ThumbnailSize</span></span> ...</pre></div>
To add numbered lines:
type thumbnailSize = small | medium | large sizeToString : thumbnailSize -> String sizeToString size = case size of Small -> "small"
Outputs
<div class="sourceCode" id="cb2"><pre class="sourceCode numberSource numberLines elm"><code class="sourceCode elm"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a><span class="co">-- !# Error (1) and (2):</span></span> <span id="cb2-2"><a href="#cb2-2" aria-hidden="true" tabindex="-1"></a><span class="co">-- Must be `CapitalCase`</span></span> ...</code></pre></div>
Which looks like (in a different highlighting theme)
The text was updated successfully, but these errors were encountered:
skylighting.less
json
.classes
--color
No branches or pull requests
To add numbered lines:
Outputs
Which looks like (in a different highlighting theme)
The text was updated successfully, but these errors were encountered: