.imply(header.ids) ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, kettext live example! .name(kettek_live) .class(css_class) ```````````````````````````````` This file show some fun stuff with kettext ,,,,,,,,,,,,,,,,,,,,,,,, Formatters ```````````````````````` kettext makes heavy use of "formatters" - commands that modify the given text-to-be-formatted. These formatters may be appended or prepended, depending on the target text. The full list is: * .class(my_class) -- sets the class of the element * .id(my_id) -- sets the id * .name(my_name) -- sets the name * .a(wew) -- creates an anchor around the given block ,,,,,,,,,,,,,,,,,,,,,,,, Emphasis and Text Formatting ```````````````````````` Emphasis and formatting is specified via various double characters on either side of the text: * **bold** * //italics// * __underline__ * --strike-- * !!important!! * ((inline)) * [[anchor]] Formatters may be applied to any of the above by appending to the text, e.g., * **bold**.class(my_Text) * [[anchor]].href(http://kettek.exoss.net/) ,,,,,,,,,,,,,,,,,,,,,,,, Anchors / Links / References ```````````````````````` Links can be attached via the ".href(...)" formatter to an anchor: * See: [[John Doe's Local Family]].href(#john_doe) * See: [[John Doe's Family]].href(john_doe) * See: [[John Doe's Foreign Family]].href(www.someplace.jp/john_doe) * See: [[John Doe's Hyper Family]].href(http://someotherplace.it/john_doe) Links may also have formatters appended: * See: [[John Doe's Secure Family]].href(https://pluto.net/john_doe).class(alternative) ,,,,,,,,,,,,,,,,,,,,,,,, Paragraphs ```````````````````````` Paragraphs are simply lines of text such as this that may or may not have a link break. Paragraphs are separated by blank lines. :) If a paragraph starts with any of the formatters, whether alone or prepended to the first-line, the paragraph will inherit accordingly. Ex. ".name(my_paragraph) .class(css_class)" .name(my_paragraph) .class(my_class) This is a paragraph with the name "my_paragraph" of the class "my_class"! ,,,,,,,,,,,,,,,,,,,,,,,, Preformatted Text and Code ```````````````````````` Pre-formatted text is a simple matter of using indentation. This is a preformatted block of text Formatters may also be used: .name(my_pre) .class(my_pre) This is a preformatted block named "my_pre" using the class "my_class" You can also use empty lines providing you keep the indentation. :) Code is specified by adding indent+'#': #.name(my_code) .class(my_code) #This is a code block named "my_code" #with class "my_code" # #Yay! :) You can place multiple pre or code blocks after one another. hi there, this is pre #and this is code. :) ,,,,,,,,,,,,,,,,,,,,,,,, Lists ```````````````````````` Lists are managed either by some alpha-numerical combined with a period (e.g., "a."), or by a repeating non-alphanumerical character. a. my list! b. my list! c. my list! 1. my list 2. my list 3. my list! * my list * my list - my list - my list ,,,,,,,,,,,,,,,,,,,,,,,, Definitions ```````````````````````` Definition lists are similar, but use a ":" for the punctuation and must have indentation Word: This is a word Word2: This is another word It can span multiple lines Word3: Yep. Word4: Alt4: Yep. Alternatively, you can create a definition in the following manner: Word Alt Word A word is a word indeed! It can also span multiple lines. :)