CodeBlocks

Code block examples, highlight and different languages#
Check Hugo official doc
solve this path problem, below we’re using: /jorgelopezblog/killua1short.jpg

Examples#
- python + monokai
1package main
2
3import "fmt"
4
5func main() {
6 for i := 0; i < 3; i++ {
7 fmt.Println("Value of i:", i)
8 }
9}
- go + RPGLE
1package main
2
3import "fmt"
4
5func main() {
6 for i := 0; i < 3; i++ {
7 fmt.Println("Value of i:", i)
8 }
9}
- bash + ashen | highlight lines 2,3
1jorge@jorge-HP-Note:~$ git add .
2jorge@jorge-HP-Note:~$ git commit -m "message"
3jorge@jorge-HP-Note:~$ git push origin main
- bash + monokai | highlight line 2
1jorge@jorge-HP-Note:~$ git add .
2jorge@jorge-HP-Note:~$ git commit -m "message"
3jorge@jorge-HP-Note:~$ git push origin main
- JS + arduino
1package main
2
3import "fmt"
4
5func main() {
6 for i := 0; i < 3; i++ {
7 fmt.Println("Value of i:", i)
8 }
9}
More examples#
- some