The txt2tags markup is simple and easy. But wait, it's powerful too!
You can insert images, make lists, quotes and even tables. All of that using just a few extra characters on your text. No more tag names or funky attributes to remember. Learn the markup now
The following table is a live demonstration of the marks.
Samples:
More documentations:
Wixi has some own markups over the one used by txt2tags. Which are:
wixi-include
(include the contents of another page)
wixi-category
(organizing the wiki)
wixi-image
(setting the image height and width)
wixi-html
(let Wixi know this is a html page. No need to generate)
Just like the include
command for txt2tags, the wixi-include mark is used to paste the contents of other pages into the page you are editing. The include command is useful to split a large page into smaller pieces or to include the full contents of an page. Sample:
%!wixi-include: SomePage
When browsing through the categories, Wixi will looks for category marks in all the pages. If it found a mark with the same name, it will show up. Sample:
%!wixi-category: GNU, Linux %!wixi-category: Unix
Because the txt2tags doesn't has a markup to handle image sizes, wixi has include an optional markup to resize your images. Sample:
%!wixi-image(SomeImage-1.png): width=400 height=300 alt="alternate tex" %!wixi-image(SomeImage-2.png): width=300 height=200
The "alt" attribute tells the reader what he or she is missing on a page if the browser can't load images. The browser will then display the alternate text instead of the image. It is a good practice to include the "alt" attribute for each image on a page, to improve the display and usefulness of your document for people who have text-only browsers.
If the page has a markup wixi-html
in the contents, wixi will not pass it through the txt2tags document generator. This might be handy if you want to create pages which cant be created by the txt2tags markups.
%!wixi-html
Here are 2 marco's from txt2tags wich may also be very usefull in Wixi.
%%toc
(Create a table of contents.)
%!postproc
(Refinements on the generated document.)
Sample:
%!postproc: '<BODY.*?>' '<BODY BGCOLOR="yellow">'