I’m migrating my old Pelican Blog to a Hugo Blog engine, so this is just a test before starting to put my posts here, and also on medium and LinkedIn.
Below is just to test of the PaperMod typography, image, code syntax highlight, etc.
Header 1
Text below header 1
Header 2
Text below header 2
Header 3
Text below header 3
Topics:
Topics with header 3
- Headers
- Table Test
- Code highlight
- Python Code highlight
- Go code highlight
- Images
- PNG image
- JPG image
Table Test
Table test with all rows centralized
Aligment Left | Description | Test Text |
---|---|---|
Header | center | Here’s right alignment |
Paragraph | CENTER | And here is a big text to show how it will be on different screen sizes |
Python Code
# Solve the quadratic equation ax**2 + bx + c = 0
# import complex math module
import cmath
a = 1
b = 5
c = 6
# calculate the discriminant
d = (b**2) - (4*a*c)
# find two solutions
sol1 = (-b-cmath.sqrt(d))/(2*a)
sol2 = (-b+cmath.sqrt(d))/(2*a)
print('The solution are {0} and {1}'.format(sol1,sol2))
Golang Code
// simple for loop in go
package main
import "fmt"
func main() {
var i int
for i = 1; i <= 5; i++ {
fmt.Println(i)
}
}
Image Test
Goku PNG
Dragon Ball Z poster in JPG