How to format text on typophile

Chris Dean's picture

A work in progress. I think something's a little buggy…

< a > = Hamburgerfonts

< em > = Hamburgerfonts

< strong > = Hamburgerfonts

< cite > = Hamburgerfonts

< code > = Hamburgerfonts

< ul > =

    Hamburgerfonts

< ol > =

    Hamburgerfonts

< li > =

  • Hamburgerfonts
  • < dl > =

    Hamburgerfonts

    < dt > =

    Hamburgerfonts

    < dd > =

    Hamburgerfonts

    Don McCahill's picture

    Thanks for this. I tried to use < i > yesterday, and discovered it got swallowed up. Only after posting did I realize that I should have tried < em >.

    Richard Fink's picture

    @christopher
    ul and dl are "container" HTML elements. That means they're designed to describe syntactically and encase other elements.
    UL means unordered list and holds LI - list items. It doesn't hold text on it's own.
    DL - same thing. Means definition list and holds dt and dd elements.
    The comments parser that Typophile uses is just guessing at what to with the text within a UL or DL tag but yet outside of a LI or DT or DD tag.

    Regards,
    rich

    JCSalomon's picture

    So we have:

    <dl>
    Definition List
    <dt>
    Term being defined
    <dd>
    Definition of the term

    The usage is something like:
    <dl><dt>Term</dt><dd>Definition</dd><dt></dl>
    —Joel

    Syndicate content Syndicate content