/test/marks/ok/quote.html
HTML | 133 lines | 111 code | 20 blank | 2 comment | 0 complexity | 9744e991473bdb96b7e1f096710c95f2 MD5 | raw file
Possible License(s): GPL-2.0, GPL-3.0, WTFPL
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
- <HTML>
- <HEAD>
- <META NAME="generator" CONTENT="http://txt2tags.org">
- </HEAD><BODY BGCOLOR="white" TEXT="black">
- <CENTER>
- </CENTER>
- <H2>Syntax: TAB defines quote</H2>
- <BLOCKQUOTE>
- To quote a paragraph, just prefix it by a TAB
- character. All the lines of the paragraph must
- begin with a TAB.
- </BLOCKQUOTE>
- <P>
- Any non-tabbed line closes the quote block.
- </P>
- <H2>Nesting: Creating deeper quotes</H2>
- <BLOCKQUOTE>
- The number of leading TABs identifies the quote
- block depth. This is quote level 1.
- <BLOCKQUOTE>
- With two TABs, we are on the quote
- level 2.
- <BLOCKQUOTE>
- The more TABs, more deep is
- the quote level.
- <BLOCKQUOTE>
- There isn't a limit.
- </BLOCKQUOTE>
- </BLOCKQUOTE>
- </BLOCKQUOTE>
- </BLOCKQUOTE>
- <H2>Nesting: Reverse nesting works</H2>
- <BLOCKQUOTE>
- <BLOCKQUOTE>
- <BLOCKQUOTE>
- <BLOCKQUOTE>
- This quote starts at
- level 4.
- </BLOCKQUOTE>
- Then its depth is decreased.
- </BLOCKQUOTE>
- Counting down, one by one.
- </BLOCKQUOTE>
- Until the level 1.
- </BLOCKQUOTE>
- <H2>Nesting: Random count</H2>
- <BLOCKQUOTE>
- <BLOCKQUOTE>
- <BLOCKQUOTE>
- Unlike lists, any quote block is
- independent, not part of a tree.
- </BLOCKQUOTE>
- </BLOCKQUOTE>
- The TAB count don't need to be incremental
- by one.
- <BLOCKQUOTE>
- <BLOCKQUOTE>
- <BLOCKQUOTE>
- The nesting don't need
- to follow any rule.
- </BLOCKQUOTE>
- </BLOCKQUOTE>
- Quotes can be opened and closed
- in any way.
- <BLOCKQUOTE>
- <BLOCKQUOTE>
- <BLOCKQUOTE>
- You choose.
- </BLOCKQUOTE>
- </BLOCKQUOTE>
- </BLOCKQUOTE>
- </BLOCKQUOTE>
- </BLOCKQUOTE>
- <H2>Nesting: When not supported</H2>
- <BLOCKQUOTE>
- Some targets (as sgml) don't support the
- nesting of quotes. There is only one quote
- level.
- <BLOCKQUOTE>
- In this case, no matter how much
- TABs are used to define the quote
- block, it always will be level 1.
- </BLOCKQUOTE>
- </BLOCKQUOTE>
- <H2>Syntax: Spaces after TAB</H2>
- <BLOCKQUOTE>
- Spaces AFTER the TAB character are allowed.
- But be careful, it can be confusing.
- </BLOCKQUOTE>
- <H2>Invalid: Spaces before TAB</H2>
- <P>
- Spaces BEFORE the TAB character
- invalidate the mark. It's not quote.
- </P>
- <H2>Invalid: Paragraphs inside</H2>
- <BLOCKQUOTE>
- Paragraph breaks inside a quote aren't
- possible.
- </BLOCKQUOTE>
- <BLOCKQUOTE>
- This sample are two separated quoted
- paragraphs, not a quote block with
- two paragraphs inside.
- </BLOCKQUOTE>
- <H2>Closing: EOF closes the open block</H2>
- <BLOCKQUOTE>
- The end of the file (EOF) closes the
- currently open quote block.
- </BLOCKQUOTE>
- <!-- html code generated by txt2tags (http://txt2tags.org) -->
- <!-- cmdline: txt2tags -q -\-no-rc quote.t2t -->
- </BODY></HTML>