Can Gists be embedded without line numbers displayed?
CodePudding user response:
Since Gist are inserted via JS and not code blocks anymore, the options described in the web for code blocks, such as the data-gist-hide-line-numbers solution, do not work anymore.
Here's a "hack" that modifies the CSS of the gist:
.js-line-number {
display: none;
}
<script src="https://gist.github.com/anilkeshwani/60567eaa5fb8c36398c52022afbde22e.js"></script>