Hello,
I understand how to replace the default SPIP "puce" character
so that I have my own indent graphic show up.
Indents inside an article are entered by using the
standard hyphen/tiret as these two lines below:
- first indented text line
- another indented text line
That's great and works fine and all.
BUT
I have some text that is also bullet-pointed as above,
but I want to indent it. As an example:
- this is an indented bullet point
- this is another indented bullet point
- which has it's own sub indents
- which need to stay at the same level
- and may be followed by other items at a lower level
- making things "hierarchical", after a fashion
Other than adding additional <p> classes and specifying
sub-block div or p indents through CSS, is there a way to specify
and generate "an indented bullet-point" ?
Many thanks in advance,
Mark
Mark Baber wrote:
I have some text that is also bullet-pointed as above,
but I want to indent it. As an example:
- this is an indented bullet point
- this is another indented bullet point
- which has it's own sub indents
- which need to stay at the same level
- and may be followed by other items at a lower level
- making things "hierarchical", after a fashion
Hello Mark,
the best is to use the shortcuts for the real html lists instead of the simple - that insert an image bullet.
To do that, use the shortcut -* and -# for numbered lists.
So for your example list, that would give:
-* this is an indented bullet point
-* this is another indented bullet point
-** which has it's own sub indents
-** which need to stay at the same level
-* and may be followed by other items at a lower level
-* making things "hierarchical", after a fashion
To indent, you just multiply the * (or # respectivelly). You can also put a -## inside a -* for example.
This shortcut will generate real html <ul><li></li>...</ul> or <ol>...</ol>. So you can use css to style it, change the indent, change the bullet, etc...
Pierre