WackoWiki: Formatters

https://wackowiki.org/doc     Version: 15 (18.01.2022 13:21)

Formatters

Also available in Deutsch[link1] and Русский[link2]


1. Text formatter

in the WackoWiki installation package[link3], the following text formatters are included:

1.1. chat

Allows you to generate IM messenger logs in a readable form.

1.2. code

Allows to display any code in any programming language. This code is not interpreted by the Wacko formatters.

1.3. comment

The text that is commented out is not displayed.

1.4. noautolinks

stops the automatic formatting of a WikiWord

1.5. paragrafica

detailed description under Typografica[link4].

1.6. php

shows the code in PHP syntax

1.7. post_wacko

internal formatter, use is not necessary

1.8. pre_wacko

internal formatter, use is not necessary

1.9. wacko

internal formatter, use is not necessary

1.10. sql

shows the code in the SQL syntax

1.11. typografica

detailed description under Typografica[link4].

1.12. wiki

Standard formatter that ensures the correct use of the wiki formatting rules.

2. Call a formatter

Any formatter can be called using the following syntax:
%%(Formatter) Text %%

If no name is specified, the formatter code is used.

It is not necessary to call the formatters wiki and typografica separately, they interpret any text as a presetting.

If this is not set in the configuration file ('default_typografica' = > '0'), then it is possible to call the text with typografica by %%(typografica) for example -- dash%%.

3. Create a new formatter

It is necessary to create a PHP file that takes the input variable $text and output the result with stdout (for example, using echo / print), and is placed in the /formatter folder.

If you have created a new formatter and it works, send[link5] it to us.

Most likely, we'll take it on this page or in the next version of WackoWiki. Thanks in advance.

4. Links

Wiki text formatter: WackoFormatter[link6]

5. Questions



Referring pages:

  1. Dev/Release/R5.0/Upgrade[link7]
  2. Doc/Deutsch/Formatierer[link8]
  3. Doc/English[link9]
  4. Doc/English/Formatting[link10]
  5. Doc/Русский/НаследиеОбновление[link11]
  6. Doc/Русский/Форматтеры[link12]
  7. Doc/简体中文/格式化[link13]