In addition to the simple styles represented by the ~WikiMarkup, JSPWiki also allows you to put in your own styles, which are defined in the jspwiki.css file. These may vary from site to site, and it is up to the site administrator to define a style.

Following styles are supported by the standard jspwiki.css file:

  • %%small -- Smaller then normal font, like this
  • %%sub -- Subscript, like aij = aji
  • %%sup -- Superscript, like 23 = 8
  • %%strike -- Strikethrough text, like this text is hardly readable
  • %%center -- Center your text
  • %%ltr -- left-to-right text formatting
  • %%rtl -- right-to-left text formatting
  • %%commentbox -- comment box floating at the right margin

Special block markers :

Use %%information ... %% for informational messages
Use %%warning ... %% for warning blocks
Use %%error ... %% for error blocks

Some other, more dynamic styles are supported as well, powered by client-side ~JavaScript