mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 15:57:57 +00:00
1.1 KiB
1.1 KiB
+++ description = "Some testing for different styles used in syntax highlightning and preformatted blocks" title = "Code" +++
Some testing for different styles used in syntax highlightning and preformatted blocks.
Inline Code
This is some very long inline code. Where does it wrap?
What about wrapping short inline code if multiple sections are written side
by
side
?
What about wrapping short inline code if multiple sections are written side
/by
/side
?
What about wrapping long inline code if multiple sections are written side567
by34567
side567
?
What about wrapping long inline code if multiple sections are written side567
/by34567
/side567
?
Can we just use a simple HTML element
?
Block Code
Code fences without any selected language
{
"well": "some JSON in codefences in here"
}
{
"well": "some JSON in HTML elements here"
}
{
"well": "Code fences with unexisting language"
}
Block Preformatted
Some preformatted stuff with markdown indention
Some preformatted stuff in HTML elements