about summary refs log tree commit diff
path: root/test
diff options
context:
space:
mode:
authorgennyble <gen@nyble.dev>2024-02-24 02:24:50 -0600
committergennyble <gen@nyble.dev>2024-02-24 02:24:50 -0600
commitd716ffb05f086061d9a5302f67f3695457fcff02 (patch)
tree1232bbdf657e50d78a960b57ce0db6f288384ca2 /test
parent9976c697f4a562da22aad36786878073c8acd4bb (diff)
downloadawake-d716ffb05f086061d9a5302f67f3695457fcff02.tar.gz
awake-d716ffb05f086061d9a5302f67f3695457fcff02.zip
Implement basic markup system
this also has the redirection from non-trailing-slash-directories to their slashy counterparts
Diffstat (limited to 'test')
-rw-r--r--test/markup/paragraph toggle/input.html16
-rw-r--r--test/markup/paragraph toggle/output.html17
2 files changed, 33 insertions, 0 deletions
diff --git a/test/markup/paragraph toggle/input.html b/test/markup/paragraph toggle/input.html
new file mode 100644
index 0000000..f6998fe
--- /dev/null
+++ b/test/markup/paragraph toggle/input.html
@@ -0,0 +1,16 @@
+[@paragraphs off]
+<style>
+	body {
+		width: 100%;
+	}
+
+	main {
+		width: 35rem;
+		margin: 0 auto;
+	}
+</style>
+
+[@paragraphs on]
+Hello!
+
+welcome in.
\ No newline at end of file
diff --git a/test/markup/paragraph toggle/output.html b/test/markup/paragraph toggle/output.html
new file mode 100644
index 0000000..fc4ad7a
--- /dev/null
+++ b/test/markup/paragraph toggle/output.html
@@ -0,0 +1,17 @@
+<style>
+	body {
+		width: 100%;
+	}
+
+	main {
+		width: 35rem;
+		margin: 0 auto;
+	}
+</style>
+
+<p>
+Hello!
+</p>
+<p>
+welcome in.
+</p>
\ No newline at end of file