User Tools

Site Tools


start:syntaxkb

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
start:syntaxkb [2016/09/01 10:45]
andre
start:syntaxkb [2016/09/08 08:05] (current)
andre [Colored Text]
Line 65: Line 65:
   * The knowledge base does not use [[wp>​CamelCase]] to automatically create links by default, but this behavior can be enabled in the config file.    * The knowledge base does not use [[wp>​CamelCase]] to automatically create links by default, but this behavior can be enabled in the config file. 
   * When a section'​s heading is changed, its bookmark changes, too. So don't rely on section linking too much.   * When a section'​s heading is changed, its bookmark changes, too. So don't rely on section linking too much.
 +
 +==== Colored Text ====
 +
 +Code sample:
 +
 +<​code>​
 +<color green>​text</​color>​
 +<color blue/​lightgrey>​text</​color>​
 +<color #​FF0000>​text</​color>​
 +<color /#​FFff00>​text</​color>​
 +</​code>​
 +
 +will create:
 +
 +<color green>​text</​color>​
 +<color blue/​lightgrey>​text</​color>​
 +<color #​FF0000>​text</​color>​
 +<color /#​FFff00>​text</​color>​
 +
 +The code supports the [[https://​en.wikipedia.org/​wiki/​X11_color_names#​Color_name_chart| X11 color names ]]
 +
  
 ==== Windows Shares ==== ==== Windows Shares ====
Line 495: Line 516:
  
 ===== Diagrams =====  ===== Diagrams ===== 
 +<​BOOKMARK:​diagrams>​
 +===Basics===
  
 Diagrams must be used within a special tag. It's because their syntax is similar to table syntax. To insert diagram into a code you should write the following: ​ Diagrams must be used within a special tag. It's because their syntax is similar to table syntax. To insert diagram into a code you should write the following: ​
  
 +<​code>​
 <​diagram>​ <​diagram>​
 Diagram specification Diagram specification
 </​diagram>​ </​diagram>​
 +</​code>​
 +
 +Diagram specification is a multiline expression. Each line consists of control characters, that define links between blocks, and letter sequences, that define blocks. These entities are separated by the special character `|'. For example, the following specification ​
 +
 +<​code>​
 +<​diagram>​
 +| AAA |-| BBB |
 +| |:| | | | | |
 +| |L|~|~| CCC |
 +</​diagram>​
 +</​code>​
 +
 +defines this diagram: ​
 +
 +<​diagram>​
 +| AAA |-| BBB |
 +| |:| | | | | |
 +| |L|~|~| CCC |
 +</​diagram>​
 +
 +You can write any text instead of letter sequences for block description except the case of special characters. ​
 +
 +<​code>​
 +<​diagram>​
 +| root |-| 1-st branch |
 +| |:| | | | | |
 +| |L|~|~| 2-nd branch |
 +</​diagram>​
 +</​code>​
 +
 +<​diagram>​
 +| root |-| 1-st branch |
 +| |:| | | | | |
 +| |L|~|~| 2-nd branch |
 +</​diagram>​
 +
 +Unfortunately,​ this method breaks down text representation of diagram (for large diagram this leads to difficulty in changing wiki-code) and also doesn'​t allow to use wiki-syntax within a block. To overcome this you should consider sequences of letters, digits and underscore as abbreviations and decode them at the end of a line using the equal sign and `|' symbol as a separator. For example: ​
 +
 +<​code>​
 +<​diagram>​
 +| AAA |-| BBB |AAA=root|BBB=1<​sup>​st</​sup>​ branch (see [[wp>​Branch]])
 +| |:| | | | | |
 +| |L|~|~| CCC |CCC=2<​sup>​nd</​sup>​ branch\\ **(very important branch)**
 +</​diagram>​
 +</​code>​
 +
 +<​diagram>​
 +| AAA |-| BBB |AAA=root|BBB=1<​sup>​st</​sup>​ branch (see [[wp>​Branch]])
 +| |:| | | | | |
 +| |L|~|~| CCC |CCC=2<​sup>​nd</​sup>​ branch\\ **(very important branch)**
 +</​diagram>​
 +
 +You can describe family trees using such diagrams.
 +
 +<​code>​
 +<​diagram>​
 +| | | Dad |y| Mom | | |Dad=Daddy|Mom=Mommy
 +| |,​|-|-|-|+|-|-|-|.| |
 +| Sys | |  Me | | Bro |Sys=Syster|Bro=Brother
 +</​diagram>​
 +</​code>​
 +
 +<​diagram>​
 +| | | Dad |y| Mom | | |Dad=Daddy|Mom=Mommy
 +| |,​|-|-|-|+|-|-|-|.| |
 +| Sys | |  Me | | Bro |Sys=Syster|Bro=Brother
 +</​diagram>​
 +
 +All types of connections are shown in the following table: ​
 +
 +|,​|.|`|'​|%%^%%|v|(|)|-|!|+|
 +|{{ ::​1.png?​nolink |}}|{{ ::​2.png?​nolink |}}|{{ ::​3.png?​nolink |}}|{{ ::​4.png?​nolink |}}|{{ ::​5.png?​nolink |}}|{{ ::​6.png?​nolink |}}|{{ ::​7.png?​nolink |}}|{{ ::​8.png?​nolink |}}|{{ ::​9.png?​nolink |}}|{{ ::​10.png?​nolink |}}|{{ ::​11.png?​nolink |}}|
 +|F|7|L|J|A|V|C|D|~|:​|%|
 +|{{ ::​12.png?​nolink |}}|{{ ::​13.png?​nolink |}}|{{ ::​14.png?​nolink |}}|{{ ::​15.png?​nolink |}}|{{ ::​16.png?​nolink |}}|{{ ::​17.png?​nolink |}}|{{ ::​18.png?​nolink |}}|{{ ::​19.png?​nolink |}}|{{ ::​20.png?​nolink |}}|{{ ::​21.png?​nolink |}}|{{ ::​22.png?​nolink |}}|
 +|y|h|}|{|p|b|]|[|*|#​| |
 +|{{ ::​23.png?​nolink |}}|{{ ::​24.png?​nolink |}}|{{ ::​25.png?​nolink |}}|{{ ::​26.png?​nolink |}}|{{ ::​27.png?​nolink |}}|{{ ::​28.png?​nolink |}}|{{ ::​29.png?​nolink |}}|{{ ::​30.png?​nolink |}}|{{ ::​31.png?​nolink |}}|{{ ::​32.png?​nolink |}}| |
 +
 +We'll refer to these elements as connection tiles.
 +
 +===Style of diagram elements===
 +
 +You can change border color and background color of a block. It's done by specifying block parameters in abbreviation description right before equal sign and within curly brackets. Parameters should be formatted as key:value and separated by semicolon. There are two keys supported: ''​border-color''​ for a color of border and ''​background-color''​ for a color of background. Color values should be specified in [[http://​www.w3.org/​TR/​CSS2/​syndata.html#​value-def-color|CSS2 format]] including [[http://​www.w3.org/​TR/​2003/​CR-css3-color-20030514/#​svg-color|SVG color keywords]]. ​
 +
 +<​code>​
 +<​diagram>​
 +| AAA | | | | |F|~|~|~|7| |AAA{border-color:​blue;​background-color:​lightgreen}=Border is blue,\\ background is lightgreen
 +| |!| | | | | CCC | | DDD |CCC{border-color:#​a9c}=Border is #a9c,\\ background is transparent|DDD{border-color:​silver;​background-color:​silver;​}=Border is silver,\\ background is silver
 +| BBB | | | | | | | | | | |BBB{border-color:​rgb(0%,​50%,​0%);​background-color:#​abcdef}=Border is green,\\ background is #abcdef
 +</​diagram>​
 +</​code>​
 +
 +<​diagram>​
 +| AAA | | | | |F|~|~|~|7| |AAA{border-color:​blue;​background-color:​lightgreen}=Border is blue,\\ background is lightgreen
 +| |!| | | | | CCC | | DDD |CCC{border-color:#​a9c}=Border is #a9c,\\ background is transparent|DDD{border-color:​silver;​background-color:​silver;​}=Border is silver,\\ background is silver
 +| BBB | | | | | | | | | | |BBB{border-color:​rgb(0%,​50%,​0%);​background-color:#​abcdef}=Border is green,\\ background is #abcdef
 +</​diagram>​
 +
 +There is also possible to setup text alignment and internal indent using ''​text-align''​ and ''​padding''​ properties: ​
 +
 +<​code>​
 +<​diagram>​
 +|Left| ​                ​|Left{text-align:​left;​}=Text is\\ aligned to the left
 +| |!|
 +| |`|-|-|Center| ​      ​|Center=By default text is aligned\\ to the center
 +| | | | |  |!|
 +| | | | |  |`|-|-|Right|Right{text-align:​right;​padding:​1em}=Align text\\ to the right\\ and setup indents
 +</​diagram>​
 +</​code>​
 +
 +<​diagram>​
 +|Left| ​                ​|Left{text-align:​left;​}=Text is\\ aligned to the left
 +| |!|
 +| |`|-|-|Center| ​      ​|Center=By default text is aligned\\ to the center
 +| | | | |  |!|
 +| | | | |  |`|-|-|Right|Right{text-align:​right;​padding:​1em}=Align text\\ to the right\\ and setup indents
 +</​diagram>​
 +
 +You can note here that it's allowed to skip empty sections in the end of a row as in the last example. But you should be aware of some difficulties in futher editing of diagram and influence on block width. Besides you can change spacing between blocks by introducing more columns and rows (this works because of minimal height and width of each empty block). Compare ​
 +
 +<​code>​
 +<​diagram>​
 +| AAA |-| BBB |
 +| |:| | | | | | | DDD |
 +| |L|~|~| CCC |
 +</​diagram>​
 +</​code>​
 +
 +<​diagram>​
 +| AAA |-| BBB |
 +| |:| | | | | | | DDD |
 +| |L|~|~| CCC |
 +</​diagram>​
 +
 +with
 +
 +<​code>​
 +<​diagram>​
 +| AAA |-|-|-| BBB | | | | | | |
 +| |:|
 +| |:| | | | | | | | | | | DDD |
 +| |:|
 +| |L|~|~|~|~| CCC |
 +</​diagram>​
 +</​code>​
 +
 +<​diagram>​
 +| AAA |-|-|-| BBB | | | | | | |
 +| |:|
 +| |:| | | | | | | | | | | DDD |
 +| |:|
 +| |L|~|~|~|~| CCC |
 +</​diagram>​
 +
 +===Arrows===
 +
 +You can use arrows in diagrams. For example, ​
 +
 +<​code>​
 +<​diagram>​
 +|  AAA  |-@2|  BBB  |-@a|  EEE   |
 +| |:@1| |   | |!@4| |   | |}@72|-|-| GGG |
 +|  DDD  |~@8|  CCC  |   ​| ​ FFF   |
 +</​diagram>​
 +</​code>​
 +
 +<​diagram>​
 +|  AAA  |-@2|  BBB  |-@a|  EEE   |
 +| |:@1| |   | |!@4| |   | |}@72|-|-| GGG |
 +|  DDD  |~@8|  CCC  |   ​| ​ FFF   |
 +</​diagram>​
 +
 +To insert an arrow you should put '​@'​ and one or two symbols as direction settings after а control character. The first symbol sets arrows that are pointed out of the center of connection tile. It's a [[wp>​hexadecimal]] number that has 4 bits for each of 4 directions: Up, Right, Down, Left. Each bit sets the presence of an arrow in the corresponding direction. If you're not familiar with hexadecimal representation then use the following algorithm. Calculate a sum of direction numbers using this table: ​
 +
 +|Up|Right|Down|Left|
 +|1|2|4|8|
 +
 +If you got a number that is greater than nine, then replace it by a letter according to the table:
 +|10|11|12|13|14|15|
 +|a|b|c|d|e|f|
 +
 +The second symbol is not necessary if you need all arrows to look outside. Otherwise, specify the ones that should look inside using the same direction scheme for the second symbol.
 +
 +===Example: Kennedy family tree===
 +
 +Basic syntax for diagrams was borrowed from Wikipedia. Compare [[wp>​Kennedy family tree]] with the family tree below. ​
 +
 +<​code>​
 +<​diagram>​
 +| | | | | JAK |y| MAK | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |JAK=James Kennedy\\ (c. 1770 - c. 1840)|MAK=Maria Kennedy\\ (c. 1775 - 1835)
 +| | | | | | | |!| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
 +| | | | | | | PAK |y| BMK | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |PAK=[[wp>​Patrick Kennedy (1823–1858)|Patrick Kennedy]]\\ (c. 1823 - 1858)|BMK=[[wp>​Bridget Murphy Kennedy|Bridget Murphy]]\\ (1824 - 1888)
 +| |,​|-|-|-|v|-|-|-|+|-|-|-|v|-|-|-|.| | | | | | | | | | | | | | | | | | | | | | | | | |
 +| MLK | | JLK | | JOK | | MMK | | PJK |y| MAH | | | | | | | | | | | | | | | | | | | | |MLK=Mary L. Kennedy\\ (1851 - 1926)|JLK=Joanna L. Kennedy\\ (1852 - 1926)|JOK=John Kennedy\\ (1854 - 1855)|MMK=Margaret M. Kennedy\\ (1855 - 1929)|PJK=[[wp>​P. J. Kennedy|Patrick Joseph Kennedy]]\\ (1858 - 1929)|MAH=[[wp>​Mary Augusta Hickey Kennedy|Mary Augusta Hickey]]\\ (1857 - 1923)
 +| | | | | | | | | | | | | | | | | | | |!| | | | | | | | | | | | | | | | | | | | | | | |
 +| | | | | | | | | | | | | | | | | | | JPK |y| RFK | | | | | | | | | | | | | | | | | | |JPK=[[wp>​Joseph P. Kennedy, Sr.]]\\ (1888 - 1969)|RFK=[[wp>​Rose Fitzgerald Kennedy|Rose Elizabeth Fitzgerald]]\\ (1890 - 1995)
 +| | | | | |,​|-|-|-|v|-|-|-|v|-|-|-|v|-|-|-|+|-|-|-|v|-|-|-|v|-|-|-|v|-|-|-|.| | | | | |
 +| | | | | JPK | | JFK |7| ROK | | KAK |7| EMK |F| PAK |F| RFK |F| JAK |F| EDK | | | | |JPK=[[wp>​Joseph Patrick Kennedy Jr.]]\\ (1915 - 1944)|JFK=[[wp>​John Fitzgerald Kennedy]]\\ (1917 - 1963)|ROK=[[wp>​Rosemary Kennedy]]\\ (1918 - 2005)|KAK=[[wp>​Kathleen Cavendish, Marchioness of Hartington]]\\ (1920 - 1948)|EMK=[[wp>​Eunice Kennedy Shriver]]\\ (b. 1921)|PAK=[[wp>​Patricia Kennedy Lawford]]\\ (1924 - 2006)|RFK=[[wp>​Robert Francis Kennedy]]\\ (1925 – 1968)|JAK=[[wp>​Jean Kennedy Smith]]\\ (b. 1928)|EDK=[[wp>​Edward Moore Kennedy]]\\ (b. 1932)
 +| | | | | | | | | | | |:| | | | | | | |:| |:| |:| |F|~|J| | | |:| | | |:| | | | | | | |
 +| | | | | | | | JLB |y|J| | | | WJC |~|J| |:| |:| |:​|F|~|~|~|~|J| | | |:| | | | | | | |JLB=[[wp>​Jacqueline Kennedy Onassis|Jacqueline Lee Bouvier]]\\ (1929 - 1994)|WJC=[[wp>​William John Robert Cavendish, Marquess of Hartington]]\\ (1917 - 1944)
 +| | | | |,​|-|-|-|v|-|^|-|v|-|-|-|.| | | | |:| |:| |:|:| | | | | JBK |y|J| | | | | | | |JBK=[[wp>​Joan Bennett Kennedy|Virginia Joan Bennett]]\\ (b. 1936)
 +| | | | ARK | | CBK | | JKJ | | PBK | | | |:| |:| |:|:| | |,​|-|-|-|v|^|-|-|.| | | | | |ARK=Arabella Kennedy\\ (1956 - 1956)|CBK=[[wp>​Caroline Kennedy]]\\ (b. 1957)|JKJ=[[wp>​John F. Kennedy, Jr.]]\\ (1960 - 1999)|PBK=[[wp>​Patrick Bouvier Kennedy]]\\ (1963 - 1963)
 +| | | | | | | | | | | | | | | | | | | | | |:| |:| |:|:| | KAK | | EMK | | PJK | | | | |KAK=[[wp>​Kara Anne Kennedy]]\\ (b. 1960)|EMK=[[wp>​Edward Kennedy, Jr.]]\\ (b. 1961)|PJK=[[wp>​Patrick J. Kennedy]]\\ (b. 1967)
 +| | | | | | | | | SAS |y|~|~|~|~|~|~|~|~|~|J| |:| |:|:| | | | | | | | | | | | | | | | |SAS=[[wp>​Sargent Shriver]]\\ (b. 1915)
 +| |,​|-|-|-|v|-|-|-|v|-|^|-|v|-|-|-|.| | |F|~|~|J| |:​|L|~|~|~|~|y| SES | | | | | | | | |SES=[[wp>​Stephen Edward Smith]]\\ (1927-1990)
 +| RSS | | MOS | | TPS | | MKS | | APS | |:| |F|~|~|J| | | | | |!| | | | | | | | | | | |RSS=[[wp>​Robert Sargent Shriver III]]\\ (b. 1954)|MOS=[[wp>​Maria Shriver]]\\ (b. 1955)|TPS=[[wp>​Timothy Perry Shriver]]\\ (b. 1959)|MKS=[[wp>​Mark Kennedy Shriver]]\\ (b. 1964)|APS=[[wp>​Anthony Paul Kennedy Shriver]]\\ (b. 1965)
 +| | | | | | | | | | | | | | | | | | | | |:| |:| | |,​|-|-|-|v|-|^|-|v|-|-|-|.| | | | | |
 +| | | | | | | | | | PEL |y|~|~|~|~|~|~|~|J| |:| | SEJ | | WKS | | AMS | | KMS | | | | |PEL=[[wp>​Peter Lawford]]\\ (1923 - 1984)|SEJ=Stephen Edward Smith, Jr.\\ (b. 1957)|WKS=[[wp>​William Kennedy Smith]]\\ (b. 1960)|AMS=Amanda Mary Smith\\ (b. 1967)|KMS=Kym Maria Smith\\ (b. 1972)
 +| | | | | | |,​|-|-|-|v|-|^|-|v|-|-|-|.| | | |:| | | | | | | | | | | | | | | | | | | | |
 +| | | | | | CKL | | SML | | VFL | | REL | | |L|y| ETS | | | | | | | | | | | | | | | | |CKL=[[wp>​Christopher Lawford]]\\ (b. 1955)|SML=Sydney Maleia Lawford\\ (b.1956)|VFL=Victoria Francis Lawford\\ (b. 1958)|REL=Robin Elizabeth Lawford\\ (b. 1961)|ETS=[[wp>​Ethel Skakel Kennedy|Ethel Skakel]]\\ (b. 1928)
 +| |,​|-|-|-|v|-|-|-|v|-|-|-|v|-|-|-|v|-|-|-|v|-|^|-|v|-|-|-|v|-|-|-|v|-|-|-|v|-|-|-|.| |
 +| KHK | | JPK | | RFK | | DAK | | MCK | | MLK | | MKK | | CGK | | MMK | | DHK | | REK |KHK=[[wp>​Kathleen Kennedy Townsend]]\\ (b. 1951)|JPK=[[wp>​Joseph Patrick Kennedy II]]\\ (b. 1952)|RFK=[[wp>​Robert F. Kennedy, Jr.]]\\ (b. 1954)|DAK=[[wp>​David Kennedy]]\\ (1955 - 1984)|MCK=[[wp>​Courtney Kennedy Hill]]\\ (b. 1956)|MLK=[[wp>​Michael LeMoyne Kennedy]]\\ (1958 - 1997)|MKK=[[wp>​Kerry Kennedy]]\\ (b. 1959)|CGK=[[wp>​Christopher George Kennedy]]\\ b. 1963)|MMK=[[wp>​Matthew Maxwell Taylor Kennedy]]\\ (b. 1965)|DHK=[[wp>​Douglas Harriman Kennedy]]\\ (b. 1967)|REK=[[wp>​Rory Kennedy]]\\ (b. 1968)
 +</​diagram>​
 +</​code>​
 +
 +[[start:​kennedy|Rendered tree]]
 +
 +===Example: Kennedy family tree with arrows===
 +
 +Let's add arrows now. They'​re a little bit redundant here but it's for a greater variety. ​
 +
 +<​code>​
 +<​diagram>​
 +| |   | | |    JAK    |y@aa| ​    ​MAK ​    ​| ​   |    |   ​| ​  | |   ​| ​  ​| ​  ​| ​   | |    | |    | |   ​| ​  ​| ​   | |   | |    | |   ​| ​   |    | |   | | | |   | |JAK=James Kennedy\\ (c. 1770 - c. 1840)|MAK=Maria Kennedy\\ (c. 1775 - 1835)
 +| |   | | |   ​| ​  ​| ​  |!@4 |   ​| ​   |    |    |    |   ​| ​  | |   ​| ​  ​| ​  ​| ​   | |    | |    | |   ​| ​  ​| ​   | |   | |    | |   ​| ​   |    | |   | | | |   | |
 +| |   | | |   ​| ​  ​| ​   PAK     ​|y@aa| ​    ​BMK ​     |   ​| ​  | |   ​| ​  ​| ​  ​| ​   | |    | |    | |   ​| ​  ​| ​   | |   | |    | |   ​| ​   |    | |   | | | |   | |PAK=[[wp>​Patrick Kennedy (1823–1858)|Patrick Kennedy]]\\ (c. 1823 - 1858)|BMK=[[wp>​Bridget Murphy Kennedy|Bridget Murphy]]\\ (1824 - 1888)
 +| |,​@4|-|-|- ​ |v@4|- ​ |-   ​|- ​ |+@e |-   ​|- ​  ​|- ​  ​|v@4|- ​ |-|-  |.@4|   ​| ​   | |    | |    | |   ​| ​  ​| ​   | |   | |    | |   ​| ​   |    | |   | | | |   | |
 +|  MLK  | |    JLK    |    |     ​JOK ​    ​| ​   |    MMK     | |    PJK    |y@aa| ​ MAH   ​| ​   | |   ​| ​  ​| ​   | |   | |    | |   ​| ​   |    | |   | | | |   | |MLK=Mary L. Kennedy\\ (1851 - 1926)|JLK=Joanna L. Kennedy\\ (1852 - 1926)|JOK=John Kennedy\\ (1854 - 1855)|MMK=Margaret M. Kennedy\\ (1855 - 1929)|PJK=[[wp>​P. J. Kennedy|Patrick Joseph Kennedy]]\\ (1858 - 1929)|MAH=[[wp>​Mary Augusta Hickey Kennedy|Mary Augusta Hickey]]\\ (1857 - 1923)
 +| |   | | |   ​| ​  ​| ​  ​| ​   |   ​| ​   |    |    |    |   ​| ​  | |   ​| ​  ​| ​  |!@4 | |    | |    | |   ​| ​  ​| ​   | |   | |    | |   ​| ​   |    | |   | | | |   | |
 +| |   | | |   ​| ​  ​| ​  ​| ​   |   ​| ​   |    |    |    |   ​| ​  | |   ​| ​  ​| ​  ​JPK ​   |y@aa| ​ RFK   ​| ​  ​| ​  ​| ​   | |   | |    | |   ​| ​   |    | |   | | | |   | |JPK=[[wp>​Joseph P. Kennedy, Sr.]]\\ (1888 - 1969)|RFK=[[wp>​Rose Fitzgerald Kennedy|Rose Elizabeth Fitzgerald]]\\ (1890 - 1995)
 +| |   | | |   ​|,​@4|- ​ |-   ​|- ​ |v@4 |-   ​|- ​  ​|- ​  ​|v@4|- ​ |-|-  |v@4|- ​ |-   ​|-|+@e |-|-   ​|-|v@4|- ​ |-   ​|-|v@4|-|- ​  ​|-|v@4|- ​  ​|- ​  ​|-|.@4| | | |   | |
 +| |   | | |    JPK    |    |     ​JFK ​    ​|7@88| ​   ROK     | |    KAK    |7@88| ​ EMK   ​|F@22| ​  ​PAK ​  ​|F@22| ​ RFK  |F@22| ​  ​JAK ​   |F@22| ​ EDK  | | |   | |JPK=[[wp>​Joseph Patrick Kennedy Jr.]]\\ (1915 - 1944)|JFK=[[wp>​John Fitzgerald Kennedy]]\\ (1917 - 1963)|ROK=[[wp>​Rosemary Kennedy]]\\ (1918 - 2005)|KAK=[[wp>​Kathleen Cavendish, Marchioness of Hartington]]\\ (1920 - 1948)|EMK=[[wp>​Eunice Kennedy Shriver]]\\ (b. 1921)|PAK=[[wp>​Patricia Kennedy Lawford]]\\ (1924 - 2006)|RFK=[[wp>​Robert Francis Kennedy]]\\ (1925 – 1968)|JAK=[[wp>​Jean Kennedy Smith]]\\ (b. 1928)|EDK=[[wp>​Edward Moore Kennedy]]\\ (b. 1932)
 +| |   | | |   ​| ​  ​| ​  ​| ​   |   ​| ​   |    |:   ​| ​   |   ​| ​  | |   ​| ​  ​| ​  ​|: ​  | |:@4 | |:   | |F  |~  |J   | |   | |:   | |   ​| ​   |:   | |   | | | |   | |
 +| |   | | |   ​| ​  ​| ​  ​| ​    ​JLB ​    ​|y@aa|J ​  ​| ​   |   ​| ​  ​| ​  ​WJC ​  ​|~@2|J ​  | |:   | |:   | |:  |F  |~   ​|~|~ ​ |~|J   | |   ​| ​   |:   | |   | | | |   | |JLB=[[wp>​Jacqueline Kennedy Onassis|Jacqueline Lee Bouvier]]\\ (1929 - 1994)|WJC=[[wp>​William John Robert Cavendish, Marquess of Hartington]]\\ (1917 - 1944)
 +| |   | | |,​@4|- ​ |-  |-   ​|v@4|- ​  |^@a |-   |v@4 |-  |-  |-|.@4| ​  ​| ​  ​| ​   | |:   | |:   | |:  |:  |    | |   | |   ​JBK ​   |y@aa|J ​  | |   | | | |   | |JBK=[[wp>​Joan Bennett Kennedy|Virginia Joan Bennett]]\\ (b. 1936)
 +| |   | |   ​ARK ​  ​| ​  ​| ​    ​CBK ​    ​| ​   |     ​JKJ ​    ​| ​  ​| ​  ​PBK ​  ​| ​  ​| ​   | |:   | |:   | |:  |:  |    | |,​@4|-|- ​  ​|-|v@4|^@a |-   ​|-|.@4| | | |   | |ARK=Arabella Kennedy\\ (1956 - 1956)|CBK=[[wp>​Caroline Kennedy]]\\ (b. 1957)|JKJ=[[wp>​John F. Kennedy, Jr.]]\\ (1960 - 1999)|PBK=[[wp>​Patrick Bouvier Kennedy]]\\ (1963 - 1963)
 +| |   | | |   ​| ​  ​| ​  ​| ​   |   ​| ​   |    |    |    |   ​| ​  | |   ​| ​  ​| ​  ​| ​   | |:@4 | |:@4 | |:​@4|:​@4| ​   |  KAK  |    |   ​EMK ​   |    |  PJK  | | |   | |KAK=[[wp>​Kara Anne Kennedy]]\\ (b. 1960)|EMK=[[wp>​Edward Kennedy, Jr.]]\\ (b. 1961)|PJK=[[wp>​Patrick J. Kennedy]]\\ (b. 1967)
 +| |   | | |   ​| ​  ​| ​  ​| ​   |     ​SAS ​    ​|y@aa|~ ​  ​|~ ​ |~  |~|~  |~  |~  |~   ​|~|J ​  | |:   | |:  |:  |    | |   | |    | |   ​| ​   |    | |   | | | |   | |SAS=[[wp>​Sargent Shriver]]\\ (b. 1915)
 +| |,​@4|-|-|- ​ |v@4|- ​ |-   ​|- ​ |v@4 |-   |^@a |-   ​|v@4|- ​ |-|-  |.@4|   ​| ​   |F|~   ​|~|J ​  | |:  |L  |~   ​|~|~ ​ |~|y@aa| ​  ​SES ​   |    | |   | | | |   | |SES=[[wp>​Stephen Edward Smith]]\\ (1927-1990)
 +|  RSS  | |    MOS    |    |     ​TPS ​    ​| ​   |    MKS     | |    APS    |    |:|    |F|~   ​|~|J ​ |   ​| ​   | |   | |!   | |   ​| ​   |    | |   | | | |   | |RSS=[[wp>​Robert Sargent Shriver III]]\\ (b. 1954)|MOS=[[wp>​Maria Shriver]]\\ (b. 1955)|TPS=[[wp>​Timothy Perry Shriver]]\\ (b. 1959)|MKS=[[wp>​Mark Kennedy Shriver]]\\ (b. 1964)|APS=[[wp>​Anthony Paul Kennedy Shriver]]\\ (b. 1965)
 +| |   | | |   ​| ​  ​| ​  ​| ​   |   ​| ​   |    |    |    |   ​| ​  | |   ​| ​  ​| ​  ​| ​   |:|    |:|    | |,​@4|- ​ |-   ​|-|v@4|-|^@a |-|v@4|- ​  ​|- ​  ​|-|.@4| | | |   | |
 +| |   | | |   ​| ​  ​| ​  ​| ​   |   ​| ​    ​PEL ​     |y@aa|~ ​ |~  |~|~  |~  |~  |~   ​|J| ​   |:|    |   ​SEJ ​  ​| ​   |  WKS  |    |   ​AMS ​   |    |  KMS  | | |   | |PEL=[[wp>​Peter Lawford]]\\ (1923 - 1984)|SEJ=Stephen Edward Smith, Jr.\\ (b. 1957)|WKS=[[wp>​William Kennedy Smith]]\\ (b. 1960)|AMS=Amanda Mary Smith\\ (b. 1967)|KMS=Kym Maria Smith\\ (b. 1972)
 +| |   | | |   ​| ​  ​|,​@4|- ​  ​|- ​ |-   |v@4 |-   |^@a |-  |v@4|-|- ​ |-  |.@4|    | |    |:|    | |   ​| ​  ​| ​   | |   | |    | |   ​| ​   |    | |   | | | |   | |
 +| |   | | |   ​| ​   CKL     ​| ​  ​| ​    ​SML ​     |    |   ​VFL ​  ​| ​  ​| ​   REL     | |    |L|y@aa| ​  ​ETS ​  ​| ​   | |   | |    | |   ​| ​   |    | |   | | | |   | |CKL=[[wp>​Christopher Lawford]]\\ (b. 1955)|SML=Sydney Maleia Lawford\\ (b.1956)|VFL=Victoria Francis Lawford\\ (b. 1958)|REL=Robin Elizabeth Lawford\\ (b. 1961)|ETS=[[wp>​Ethel Skakel Kennedy|Ethel Skakel]]\\ (b. 1928)
 +| |,​@4|-|-|- ​ |v@4|- ​ |-   ​|- ​ |v@4 |-   ​|- ​  ​|- ​  ​|v@4|- ​ |-|-  |v@4|- ​ |-   ​|-|v@4 |-|^@a |-|v@4|- ​ |-   ​|-|v@4|-|- ​  ​|-|v@4|- ​  ​|- ​  ​|-|v@4|-|-|-|.@4| |
 +|  KHK  | |    JPK    |    |     ​RFK ​    ​| ​   |    DAK     | |    MCK    |    |  MLK   ​| ​   |   ​MKK ​  ​| ​   |  CGK  |    |   ​MMK ​   |    |  DHK  | |  REK  |KHK=[[wp>​Kathleen Kennedy Townsend]]\\ (b. 1951)|JPK=[[wp>​Joseph Patrick Kennedy II]]\\ (b. 1952)|RFK=[[wp>​Robert F. Kennedy, Jr.]]\\ (b. 1954)|DAK=[[wp>​David Kennedy]]\\ (1955 - 1984)|MCK=[[wp>​Courtney Kennedy Hill]]\\ (b. 1956)|MLK=[[wp>​Michael LeMoyne Kennedy]]\\ (1958 - 1997)|MKK=[[wp>​Kerry Kennedy]]\\ (b. 1959)|CGK=[[wp>​Christopher George Kennedy]]\\ b. 1963)|MMK=[[wp>​Matthew Maxwell Taylor Kennedy]]\\ (b. 1965)|DHK=[[wp>​Douglas Harriman Kennedy]]\\ (b. 1967)|REK=[[wp>​Rory Kennedy]]\\ (b. 1968)
 +</​diagram>​
 +</​code>​
 +
 +[[start:​kennedyarrows|Rendered tree]]
 +
 +===Additional tests===
 +
 +Using all connection types: ​
 +
 +<​code>​
 +<​diagram>​
 +| | |v| | | | |V| | |
 +| |,|!|.| | |F|:|7| | | |y| | |p| |
 +|)|-|+|-|(|D|~|%|~|C| |}| |{|]| |[| |*| |#|
 +| |`|!|'​| | |L|:|J| | | |h| | |b| |
 +| | |^| | | | |A| | |
 +</​diagram>​
 +</​code>​
 +
 +<​diagram>​
 +| | |v| | | | |V| | |
 +| |,|!|.| | |F|:|7| | | |y| | |p| |
 +|)|-|+|-|(|D|~|%|~|C| |}| |{|]| |[| |*| |#|
 +| |`|!|'​| | |L|:|J| | | |h| | |b| |
 +| | |^| | | | |A| | |
 +</​diagram>​
 +
 +Using all arrow types: [[start:​allarrows|on the separate page]]. ​
start/syntaxkb.1472751909.txt.gz · Last modified: 2016/09/01 10:45 by andre