The easy Weblog and Wiki Software
[ start | index | login ]
start > Advanced Wiki features

Advanced Wiki features

Created by funzel. Last edited by leo, 3 years and 219 days ago. Viewed 17,191 times. #6
[diff] [history] [edit] [rdf]
labels
Parent:FAQ
attachments

Graphical Representations (Trees and UML)

A special macro allows you to express thoughts using graphical means. See SnipGraph.

Nested Lists

You can do nested lists with

- one
-- two
-- three
--- four
-- five
- six
  • one
    • two
    • three
      • four
    • five
  • six
NOTE: Don't try to extend the above to four dashes, four dashes:

----

The above results in a horizontal line - shown just below)


Numbering nested lists sometimes works, depending on what version you're running.

1. one
1a. two
1ai. three
1a. four
1. five
  1. one
    1. two
      1. three
    2. four
  2. five

Icon-Comment ThoMo, 5 years and 4 days ago. Icon-Permalink

Nested lists do not work at my snipsnap server (0.4.2a). I got strike through text.

Icon-Comment leo, 5 years and 4 days ago. Icon-Permalink

You need a current radeox.jar (see snipsnap-download). Or better got directly to >>http://radeox.org/ and put it in the applications/YourSnipSnapName/WEB-INF/lib/ directory of your installation

Icon-Comment ThoMo, 5 years and 4 days ago. Icon-Permalink

Unfortunately this results in an error:
FATAL: unable to load application: 'SIC': org/radeox/util/logging/Logger

Icon-Comment funzel, 5 years and 4 days ago. Icon-Permalink

I think you also need to put there the jakarta commons-logging.jar.

Icon-Comment ThoMo, 5 years and 4 days ago. Icon-Permalink

Now it run. I unpack the radeox.jar file (jar xf radeox.jar) and copy from radeox-0.7.jar/lib/ directory radeox.jar and commons-logging.jar to the applications/YourSnipSnapName/WEB-INF/lib/ directory.

Icon-Comment stephen, 4 years and 303 days ago. Icon-Permalink

With my own installation of SnipSnap 0.4.2 I've installed the two jar files as indicated above, but I still can't get two dashes to render as the second level of indent. Three dashes render at the third level, but two still yields a strikethrough effect.

Any advice would be welcome!

Icon-Comment jhouserizer, 4 years and 189 days ago. Icon-Permalink

With 0.5a I also get strike-through with two dashes for nexted lists.

Any word when nested, numbered lists will work?

Icon-Comment jhouserizer, 4 years and 189 days ago. Icon-Permalink

...woops, never mind, it seems numbered lists do work with nesting, like this:
  1. first level
    1. second level with letters
    2. second level continued
  2. first level continued
.. but nexting with dashes produces strikethroug text.

Icon-Comment funzel, 4 years and 188 days ago. Icon-Permalink

- one
-- two
-- three
- four

produces

  • one
    • two
    • three
  • four
But does not work in 0.5? Seems strange, as we have a unit test for this.

Update: Your're right, does not work in 0.5, I have a look.

Icon-Comment arnuschky, 3 years and 295 days ago. Icon-Permalink

How do I change the size of the indent? It's way too long I think..

Icon-Comment Davor, 3 years and 284 days ago. Icon-Permalink

List indent should be controllable through CSS. But looking at SnipSnap.org's style sheets, it looks like it sets the 'ul' element's margin and padding to 0. This stumped me, as it's about as much as I know about CSS, but maybe somebody on the development team could comment.

Icon-Comment leo, 3 years and 283 days ago. Icon-Permalink

CSS styles are cascaded or better, they can be overidden by the order they are read by the browsers rendering engine. The lists have special styles like "minus" and look like:
<ul class="minus">
<li>xxx</li>
</ul>
So take a look at wiki.css and look out for minus to see how it is formatted.
Please login to post a comment.

What is SnipSnap?
SnipSnap is a free and easy to install weblog and wiki tool written in Java.

SnipSnap download
Current version: 1.0b3-uttoxeter
Try our >>Web Start Demo!

Resources

5567 Users and 13712 Snips. Installed 6 years and 9 days ago

Logged in Users: (1)
… and 12 Guests.

snipsnap-changed for older changes.

< July 2008 >
SunMonTueWedThuFriSat
12345
6789101112
13141516171819
20212223242526
2728293031

snipsnap
Listed on BlogShares
XHTML 1.0 validated
CSS validated
RSS 2.0 validated
RSS Feed

pico-powered

Powered by SnipSnap 1.0b3-uttoxeter
YourKit >>Java Profiler

Fraunhofer FIRST

snipsnap.org | Copyright 2000-2006 Fraunhofer FIRST