Wikka Documentation : UsingHTML

HomePage :: Index :: RecentChanges :: Search :: Login/Register
[1768] Latest edit on 2009-01-15 08:25:29 by DarTar [link to WikiConverter]


Additions:
WikkaWiki supports (X)HTML on top wiki markup. There are two ways to use HTML markup into your Wikka pages:
  1. convert HTML to Wikka markup using a utility such as this Perl script: HTML-WikiConverter-WikkaWiki (an online version is available here, make sure to select WikkaWiki as a wiki dialect); or
  2. insert HTML directly into Wikka pages.
The second option allows you to directly copy and paste HTML from an existing webpage into the wiki. You can see an example of this on the LanguageCodes page.
To insert HTML in Wikka, you have to wrap it in ""double double-quotes"".
Example
""y = x<sup>n+1</sup>""
y = xn+1

Security

It is possible to allow all HTML tags to be used, but this is a big security risk. Use with caution.

Deletions:
There are two ways to incorporate HTML code into your Wikka pages:
  1. Convert HTML to Wikka markup using a utility such as this perl script: HTML-WikiConverter-WikkaWiki; or
  2. HTML code can be inserted directly into Wikka pages.
Think of the possibilities. This allows you to cut and paste HTML tables from an existing webpage into the wiki. You can see an example of this on the LanguageCodes page.
To insert HTML, start with two double quotes, then insert the HTML, and then close with another two double quotes.
Syntax
""[html code]""

Security
It's possible to allow all HTML tags to be used, but this is a big security risk. Use with caution.



[1268] Edited on 2008-11-01 23:23:06 by YanB [Removed HomePage link]


Deletions:
HomePage


[363] Edited on 2006-12-27 11:39:54 by YanB [cat]


Additions:
HomePage
CategoryEN

Deletions:
Wikka Documentation
CategoryDocumentation



[195] The oldest known version of this page was created on 2006-08-22 08:29:52 by BrianKoontz [Added link to HTML->Wikka converter]

History of recent changes for UsingHTML
Wikka Documentation

Using HTML in Wikka pages


There are two ways to incorporate HTML code into your Wikka pages:
  1. Convert HTML to Wikka markup using a utility such as this perl script: HTML-WikiConverter-WikkaWiki; or
  2. HTML code can be inserted directly into Wikka pages.

Think of the possibilities. This allows you to cut and paste HTML tables from an existing webpage into the wiki. You can see an example of this on the LanguageCodes page.

To insert HTML, start with two double quotes, then insert the HTML, and then close with another two double quotes.

Syntax
""[html code]""


Security
By default, some HTML tags are removed by the SafeHTML parser to protect against potentially dangerous code. The list of tags that are removed can be found on the SafeHTML page.

It's possible to allow all HTML tags to be used, but this is a big security risk. Use with caution.
To allow all HTML tags, edit the wikka.config.php file and change the double_doublequote_html value to "raw".
Possible values of double_doublequote_html:

If the value is set to "disabled", HTML characters are converted to HTML entities. You can check the PHP Manual page for htmlspecialchars for more info.


CategoryDocumentation
Creative Common Attribution-ShareAlike License
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in 0.0368 seconds