Welcome to mirror list, hosted at ThFree Co, Russian Federation.

highlight.js « js « static - github.com/natarajmb/charaka-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8068d75e268117d65a30e04382bbe3578ba867be (plain)
1
2
3
4
5
6
7
// adding this to highlight inline code block
$(document).ready(function() {
    $('p code').each(function(i, inline) {
        hljs.highlightBlock(inline);
    });
  });