[pmwiki-users] Custom Markup Setup for <div class= ?
    Matt Simpson 
    matthew at undertheoak.net
       
    Tue Jul  3 10:37:26 CDT 2007
    
    
  
I'm trying to enable the sidebar with custom html to take advantage of our internal css.
## Basic left nav examples in an html file
## <div class="top-level"><a id="site-home" href="http://mysite.com">Home link</a></div>
## <div class="top-level"><a href="http://mysite.com">Link 1</a></div>
## <div class="second-level"><a class="open" href="http://mysite.com">Link 1</a></div>
## <div class="third-level"><a href="http://mysite.com">Link 1</a></div>
I thought perhaps that custom markup is the way to go.  To do even the top-level, I tried adding
this to the local/config.php
Markup("toplevel", "inline", "/`(.*?)`/", "<div class="top-level">$1</div>");
This is intended to use the backward apostrophe to mark something as toplevel.
However, when I apply this, all the wiki pages go blank.  
Any ideas on what to do?
Is custom markup the way to go?
Thanks in advance.  ~~~ Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20070703/2fba2a1e/attachment-0001.html 
    
    
More information about the pmwiki-users
mailing list