diff options
author | Fabien CASTERS <fabien@vaga.io> | 2021-01-05 16:50:39 +0300 |
---|---|---|
committer | Fabien <vaga@users.noreply.github.com> | 2021-01-05 16:57:29 +0300 |
commit | 5c7aaea10093505a903a3fd49d247f2545e96b04 (patch) | |
tree | e8a9c46e9d48770c88aebd35e1d04d50193dfe4f /exampleSite | |
parent | b3e4d71512169c58ec7d00d14b7d8a29cdc2636c (diff) |
improve preformatted text with or without line numbers
Diffstat (limited to 'exampleSite')
-rw-r--r-- | exampleSite/content/posts/test-1.md | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/exampleSite/content/posts/test-1.md b/exampleSite/content/posts/test-1.md index 2b2d622..8675550 100644 --- a/exampleSite/content/posts/test-1.md +++ b/exampleSite/content/posts/test-1.md @@ -7,5 +7,29 @@ date = "1012-01-01" Test 1 I am referencing a footnote[^1] +```go {linenos=inline} +package main + +import "fmt" + +func main() { + fmt.Println("{linenos=inline}") +} +``` + +```go {linenos=table} +package main + +import "fmt" + +func main() { + fmt.Println("{linenos=table}") +} +``` + +``` +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis in dictum tortor. +Morbi laoreet enim id sem euismod lobortis. Donec quam libero, bibendum non cursus vitae, dictum vel eros. +``` [^1]: I am the footnote |