Created
March 30, 2020 07:39
-
-
Save moshfeu/9389214552feb9eef823fa1b62e63773 to your computer and use it in GitHub Desktop.
jekyll highlight code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% highlight html linenos %} | |
<button>do alert</button> | |
<script> | |
document.querySelector('button').addEventListener('click', () => { | |
alert('clicked'); | |
}) | |
</script> | |
{% endhighlight %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment