• I have tried in several ways but with no success. Goal is to create someting like:

    * Bullet 1
    * Bullet 2
    – subbulet 1
    – subbulet 2
    * Bullet 3

    It’s not possible and I have to use standard

      or

        structures, which allow this…
Viewing 2 replies - 1 through 2 (of 2 total)
  • As a heads-up, if you use the “code” button or backticks, you can prevent HTML tags from being interpreted by the parser.

    I might be misinterpreting what you’re trying to do, but you could pass inline styles to each separate <ul> or <ol>:

    <ul style="list-style-type: circle;">
        <li>Hi</li>
        <li>Hi
            <ul style="list-style-type: upper-roman;">
                <li>Hi</li>
                <li>Hi</li>
            </ul>
        </li>
        <li>Hi</li>
        <li>Hi
            <ul style="list-style-type: katakana;">
                <li>Hi</li>
                <li>Hi</li>
            </ul>
        </li>
        <li>Hi</li>
    </ul>
    Thread Starter talird

    (@talird)

    Thanks,
    In SKT Corp there are shortcodes for lists:
    [unordered_list style="list-1"]<li>List style 1</li>[/unordered_list]
    they use several nice icons (list-1 .. list-10) instead of simple “bullets”. If I want to use it I can’t do code like:

    [unordered_list style="list-1"]
      <li>Hi</li>
      <li>Hi</li>
      [unordered_list style="list-2"]
         <li>Hi</li>
      [/unordered_list]
    [/unordered_list]

    because in that case the list is “flat” (no padding for sub-items). That’s why I have to use lists just as in your example. Using <ul style="list-1"> might be a good option.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to create inherited [unordered_list]?’ is closed to new replies.