Uploaded image for project: 'Maven Doxia'
  1. Maven Doxia
  2. DOXIA-319

Improve toc macro for CSS

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.1
    • 1.1.1
    • Core
    • None
    • any

    Description

      The toc macro in APT works great!
      example: %

      {toc|section=0}

      But.

      It would be nice to make it CSS friendly with an divId= and/or divClass= parameter.
      example: %

      {toc|section=0|divID=myTOC}

      If divId or div/Class parameter exists, the toc macro should change the enclosing <div class="section"> accordingly.
      If there is no enclosing <div class="section">, then create an additional <div> around the generated <ul><li> structure, which has the id/class as specified.

      Attachments

        Issue Links

          Activity

            People

              ltheussl Lukas Theussl
              ali65 Albert Kurucz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: