From a7fc04bfbf08921f084ef2f3ceaeee4da8cd95ce Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sun, 19 Nov 2023 13:10:14 +0200 Subject: [preproc.awk] Added a more or less working preprocessor for CSMA, written in AWK --- example.csma | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 example.csma (limited to 'example.csma') diff --git a/example.csma b/example.csma new file mode 100644 index 0000000..bc78e34 --- /dev/null +++ b/example.csma @@ -0,0 +1,42 @@ + { + { + { red } + } +} + { +
{ + margin-left: auto; + margin-right: auto; + } +} + +#b { + color: ; +} + + { + #a { + abc: a; + color: ; + margin: 2em; + } + +} + + + + +// This is an example object +{ + .b { + margin: 0.2em; + padding: 0.5em; + } + { + a { + display: table; + + } + } +} + -- cgit v1.2.3