nemhugo/exampleSite/content/post/2016-03-08-code-sample.md
Michael Romero 87adc9d691 Support for big title images and bugfixes
Add support for big title images
(e6cb0a4f54).
Several bugfixes including pygment_highlights.css dependency, Index page
alignment/containers, and Index page site title. Also renamed
description to subtitle, in line with the original theme.
2016-04-02 03:55:38 -07:00

440 B

title subtitle date
Code Sample Using Pygments 2016-03-08

The following is a code sample using the "highlight" shortcode provided in Hugo.

{{< highlight javascript >}} var num1, num2, sum num1 = prompt("Enter first number") num2 = prompt("Enter second number") sum = parseInt(num1) + parseInt(num2) // "+" means "add" alert("Sum = " + sum) // "+" means combine into a string {{</ highlight >}}