]>
Commit | Line | Data |
---|---|---|
1 | AutoFormat.AutoParagraph\r | |
2 | TYPE: bool\r | |
3 | VERSION: 2.0.1\r | |
4 | DEFAULT: false\r | |
5 | --DESCRIPTION--\r | |
6 | \r | |
7 | <p>\r | |
8 | This directive turns on auto-paragraphing, where double newlines are\r | |
9 | converted in to paragraphs whenever possible. Auto-paragraphing:\r | |
10 | </p>\r | |
11 | <ul>\r | |
12 | <li>Always applies to inline elements or text in the root node,</li>\r | |
13 | <li>Applies to inline elements or text with double newlines in nodes\r | |
14 | that allow paragraph tags,</li>\r | |
15 | <li>Applies to double newlines in paragraph tags</li>\r | |
16 | </ul>\r | |
17 | <p>\r | |
18 | <code>p</code> tags must be allowed for this directive to take effect.\r | |
19 | We do not use <code>br</code> tags for paragraphing, as that is\r | |
20 | semantically incorrect.\r | |
21 | </p>\r | |
22 | <p>\r | |
23 | To prevent auto-paragraphing as a content-producer, refrain from using\r | |
24 | double-newlines except to specify a new paragraph or in contexts where\r | |
25 | it has special meaning (whitespace usually has no meaning except in\r | |
26 | tags like <code>pre</code>, so this should not be difficult.) To prevent\r | |
27 | the paragraphing of inline text adjacent to block elements, wrap them\r | |
28 | in <code>div</code> tags (the behavior is slightly different outside of\r | |
29 | the root node.)\r | |
30 | </p>\r | |
31 | --# vim: et sw=4 sts=4\r |