aboutsummaryrefslogtreecommitdiff
path: root/gsp.5
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-09-11 01:29:17 +0200
committerThomas Voss <mail@thomasvoss.com> 2023-09-11 01:29:17 +0200
commit977f794ab8b28d7462fd0e85eee7d4343f946d3a (patch)
treee78b457db12ff382c0e6138ae2f4416617dab91a /gsp.5
parent6579a18ad5ea550eaf116f438208da9db2f6337b (diff)
Wrap example code to 73 columns
Normally I wrap code and stuff to 80 columns, but I’m going to use 73 for the examples in the manuals as manual page readers are probably indenting stuff quite a bit.
Diffstat (limited to 'gsp.5')
-rw-r--r--gsp.517
1 files changed, 9 insertions, 8 deletions
diff --git a/gsp.5 b/gsp.5
index e38ab69..c7c7651 100644
--- a/gsp.5
+++ b/gsp.5
@@ -41,12 +41,13 @@ html lang="en" {
key-1="value-1"
key-2 = "value-2"
{-
- This paragraph has an ID, two classes, and two additional attributes. GSP
- allows us to use the ‘#ident’ and ‘.ident’ syntaxes as shorthands for
- applying IDs, and classes. This is a text node, so nothing is being
- interpreted as GSP nodes, but we can include them inline if we want. As
- an example, here is some @em {-emphatic} text. Your inline nodes can also
- have attributes @em #id .cls {-just like a regular node}.
+ This paragraph has an ID, two classes, and two additional
+ attributes. GSP allows us to use the ‘#ident’ and ‘.ident’
+ syntaxes as shorthands for applying IDs, and classes. This is a
+ text node, so nothing is being interpreted as GSP nodes, but we can
+ include them inline if we want. As an example, here is some @em
+ {-emphatic} text. Your inline nodes can also have attributes @em
+ #id .cls {-just like a regular node}.
}
}
}
@@ -166,8 +167,8 @@ html {
body {
p {-
- Welcome to my website! Here on my website you can find cute cat pictures,
- amongst other things.
+ Welcome to my website! Here on my website you can find cute cat
+ pictures, amongst other things.
}
}
}