Bookmark Topic Watch Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
It's not part of the standard Wiki syntax, but several Wikis have a way to specify headers (e.g. <h2>Some Stuff</h2>) Adding this to Friki is another simple change.

DannyCook suggests that Usemod indicates such headers using a = Header One =, == Header Two == syntax. To add this style of header to your friki installation:

Go to your Friki DataDirectory (the one you entered when you first started Friki)

Edit the file wiki.transform (WikiDotTransform)
add the following lines (just after Include wiki-extra.txt is a good place)



reload your Friki configurations by using



RafaelAlvarez suggests that PHPWiki indicates such headers using a !Header One, !!Header Two syntax. To add this style of header to your friki installation:

Go to your Friki DataDirectory (the one you entered when you first started Friki)

Edit the file wiki.transform
add the following lines (just after Include wiki-extra.txt is a good place)



Reload your Friki configurations by using



And away you go! If you do add markup extensions like this to your Friki installation, please remember to update your PageFormatting page so that your users can find out how to do it.

Note from the above that specification of RegularExpression transformations in Friki is easy and adaptable. The first character of the pattern is used as a separator, so all you need to do is choose one that's not in the expression itself, and you don't need to worry about "escaping" it.


CategoryWiki
    Bookmark Topic Watch Topic
  • New Topic