docs: set language for codeblock highlighting examples

This commit is contained in:
Philipp Kühn 2021-04-20 10:25:23 +02:00
parent ecf0c92434
commit 1af47387c7
2 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ export default {
<p>
Thats a boring paragraph followed by a fenced code block:
</p>
<pre><code>for (var i=1; i <= 20; i++)
<pre><code class="language-javascript">for (var i=1; i <= 20; i++)
{
if (i % 15 == 0)
console.log("FizzBuzz");

View File

@ -48,7 +48,7 @@ export default {
<p>
Thats a boring paragraph followed by a fenced code block:
</p>
<pre><code>for (var i=1; i <= 20; i++)
<pre><code class="language-javascript">for (var i=1; i <= 20; i++)
{
if (i % 15 == 0)
console.log("FizzBuzz");