70 lines
1.3 KiB
Plaintext
70 lines
1.3 KiB
Plaintext
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title></title>
|
|
<link rel="stylesheet" href="../test.css">
|
|
<link rel="stylesheet" href="../prism-theme.css">
|
|
</head>
|
|
<body>
|
|
|
|
Just JS
|
|
{% highlight js %}
|
|
function myFunction() {
|
|
return true;
|
|
}
|
|
{% endhighlight %}
|
|
|
|
Just JS multiline
|
|
|
|
{% highlight js %}
|
|
let multilineString = `
|
|
this is the first line
|
|
this is the middle line
|
|
this is the last line
|
|
`;
|
|
{% endhighlight %}
|
|
|
|
JS + Linehighlight
|
|
{% highlight js 1,3 %}
|
|
let multilineString = `
|
|
this is the first line
|
|
this is the middle line
|
|
this is the last line
|
|
`;
|
|
{% endhighlight %}
|
|
|
|
Swift + show lineNumbers
|
|
|
|
{% highlight swift lineNumbers %}
|
|
let multilineString = `
|
|
this is the first line
|
|
this is the middle line
|
|
this is the last line
|
|
`;
|
|
{% endhighlight %}
|
|
|
|
Swift + show lineNumbers + highlight 1 & 3
|
|
|
|
{% highlight swift lineNumbers 1,3 %}
|
|
let multilineString = `
|
|
this is the first line
|
|
this is the middle line
|
|
this is the last line
|
|
`;
|
|
{% endhighlight %}
|
|
|
|
Swift + show lineNumbers + highlight 1 & 3
|
|
|
|
{% highlight swift lineNumbers 1,3 table %}
|
|
let multilineString = `
|
|
this is the first line
|
|
this is the middle line
|
|
this is the last line
|
|
`;
|
|
{% endhighlight %}
|
|
|
|
</body>
|
|
</html>
|