What is the source code for the marking of reserved words in pink rectangles, etc.?
What is the source code for the marking of reserved words in pink rectangles, etc.?
I would be most curious to study and understand the source code for the marking of reserved words (e.g., scrollY
) and the snippets of JavaScript code that come coloured and fully formatted with line numbering and zebra stripes. Looking at the source code, I see a CSS file that ends with a long alphanumeric string ("/media/css/site.css?_=97e72e3a278f58adfb977da843af7680"). This can be unminified for easy study. Is this a style sheet that you created from scratch, or is it based on freely available source code? Is it enough, with the appropriate style sheet, to simply use code like <pre><code class="multiline language-js"> ... </code></pre>
to obtain the desired result, or does this involve detailed coding for each element of the displayed formatted text?
May I also ask why the style sheet comes with this long alphanumeric string after the "css" extension?
Thanks in advance for helping me see the light. At http://datatables.net/manual/tech-notes/8 (DataTables Markdown), there is related documentation, but this seems to apply to how we can mark elements of code in a forum post with basic symbols, as I have done above.