Compose tips

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <b> <i> <p> <br> <blockquote>

  • Lines and paragraphs are automatically recognized. The <br /> line break, <p> paragraph and </p> close paragraph tags are inserted automatically. If paragraphs are not recognized simply add a couple blank lines.
  • Typogrify.module brings the typographic refinements of Typogrify to Drupal.
    • Wraps ampersands (the $ldquo;&” character) with <span class=\"amp\">&</span>.
    • Prevents single words from wrapping onto their own line using Shaun Inman's Widont technique.
    • Converts straight quotation marks to typographer's quotation marks, using SmartyPants.
    • Converts multiple hyphens to en dashes and em dashes (according to your preferences), using SmartyPants.
    • Wraps multiple capital letters with <span class=\"caps\">CAPS</span>.
    • Wraps initial quotation marks with <span class=\"quo\"></span> or <span class=\"dquo\"></span>.
    • Adds a css style sheet that uses the <span> tags to substitute a showy ampersand in headlines, switch caps to small caps, and hang initial quotation marks.
  • You may link to files uploaded with the current node using special tags. The tags will be replaced by the corresponding files. For example: Suppose you uploaded three files (in this order):

    • imag1.png (referred as file #1)
    • file1.pdf (referred as file #2)
    • imag2.png (referred as file #3)
    [inline:1=test]  or  [inline:imag1.png=test]
    will be replaced by <img src=imag1.png alt=test>
    [file:1=test]  or  [file:imag1.png=test]
    will be replaced by <a href=imag1.png>test</a>
    [attachment:2=test]  or  [attachment:file1.pdf=test]
    will be replaced by <a href=file1.pdf.png>test</a>