reply

NAML documentation   Watch a video
   Usages of this macro
... in reply.naml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<override_macro name="reply" requires="servlet">
    <n.new_post
Macro
Requires: servlet
Parameters: bottom, page_name, focus, mailing_list_etiquette
>
        <page_name>
            <t>Reply</t>
        </page_name>
        <focus>
            <n.message_field
Macro
Parameters: do
.focus
Macro
Requires: field
/>
        </focus>
        <mailing_list_etiquette>
            <li><t>Quote what you reply to and trim it to only the relevant parts. This provides context for those who will read your message by email.</t></li>
            <li><t>Avoid small talk such as "Thank you", "Great"... You can <n.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.reply_to_author_link
Macro
Requires: node
Parameters: text, title, class
.>send a private email</n.page_node.reply_to_author_link.> if you want.</t></li>
        </mailing_list_etiquette>
        <bottom>
            <n.in_reply_to
Macro
/>
        </bottom>
    </n.new_post>
    
    <script type="text/x-mathjax-config">MathJax.Hub.Config({tex2jax:{inlineMath:[['$','$']]}});</script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
    
</override_macro>
Overrides default macro
... in reply.naml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<macro name="reply" requires="servlet">
    <n.new_post>
        <page_name>
            <t>Reply</t>
        </page_name>
        <focus>
            <n.message_field.focus/>
        </focus>
        <mailing_list_etiquette>
            <li><t>Quote what you reply to and trim it to only the relevant parts. This provides context for those who will read your message by email.</t></li>
            <li><t>Avoid small talk such as "Thank you", "Great"... You can <n.page_node.reply_to_author_link.>send a private email</n.page_node.reply_to_author_link.> if you want.</t></li>
        </mailing_list_etiquette>
        <bottom>
            <n.in_reply_to/>
        </bottom>
    </n.new_post>
</macro>