diff options
author | Tom Willemsen | 2011-03-07 09:04:49 +0100 |
---|---|---|
committer | Tom Willemsen | 2011-03-07 09:04:49 +0100 |
commit | 94d2fc1815a919734353c942f224db1de4b4fcb8 (patch) | |
tree | 4168e816ead132bfa3510e272427837c3895f5e2 /emacs.d/nxhtml/tests/in/mason.mason | |
parent | d0e7674fdb1de12c8de202d4028a5d7ed3669a6e (diff) | |
download | dotfiles-94d2fc1815a919734353c942f224db1de4b4fcb8.tar.gz dotfiles-94d2fc1815a919734353c942f224db1de4b4fcb8.zip |
Django, org
* Added nxhtml, mostly for django support.
* Changed some org settings.
Diffstat (limited to 'emacs.d/nxhtml/tests/in/mason.mason')
-rw-r--r-- | emacs.d/nxhtml/tests/in/mason.mason | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/emacs.d/nxhtml/tests/in/mason.mason b/emacs.d/nxhtml/tests/in/mason.mason new file mode 100644 index 0000000..089dc1d --- /dev/null +++ b/emacs.d/nxhtml/tests/in/mason.mason @@ -0,0 +1,46 @@ + +<%perl> + my $noun = 'World'; +my @time = localtime; +</%perl> +Hello <% $noun %>, +% if ( $time[2] < 12 ) { + good morning. + % } else { + good afternoon. + % } + + <%text> + Some text + </%text> + +<%doc> + Some doc +</%doc> + +<& simple_comp &> + + <%args> + $a + @b # a comment + %c + + # another comment + $d => 5 + $e => $d*2 + @f => ('foo', 'baz') + %g => (joe => 1, bob => 2) + </%args> + +<&| /path/to/comp &> this is the content </&> +<&| comp, arg1 => 'hi' &> filters can take arguments </&> +<&| comp &> content can include <% "tags" %> of all kinds </&> +something +<& simple_comp &> +<&| SELF:method1 &> subcomponents can be filters </&> +<&| compit &> + <&| comp1 &> + nesting is also + <&| comp2 &> OK </&> +xx +</&> |