Skip to content

Latest commit

 

History

History
166 lines (121 loc) · 3.21 KB

Home.md

File metadata and controls

166 lines (121 loc) · 3.21 KB
Global Menu

If you need a custom ToC in addition to the auto-generated ToC by GitHub, you can use links to your headings. Replace spaces with a dash -and remove dots . like this:


This is an example how you can build a custom wiki using markdown. It does not have a sidebar and footer. But is has the advantage that you can work in pull requests on the changes and you have the wiki close to your code (for auto generation, or to do modifications alongside with your code changes).

The are different tools like VS Code extensions that can auto-generate the ToC if you like.

Header 1

Summary of the topic.

Head 1.1

Description of Section 1.

Example
  nextWhenVisible() {
    // Don't call next when the page isn't visible
    // or the carousel or its parent isn't visible
    if (!document.hidden && isVisible(this._element)) {
      this.next()
    }
  }

Head 1.2

Description of Section 2.

Example
  nextWhenVisible() {
    // Don't call next when the page isn't visible
    // or the carousel or its parent isn't visible
    if (!document.hidden && isVisible(this._element)) {
      this.next()
    }
  }

HEAD 1.2.1

Description of Subsection 1 in Section 2.

Example
  nextWhenVisible() {
    // Don't call next when the page isn't visible
    // or the carousel or its parent isn't visible
    if (!document.hidden && isVisible(this._element)) {
      this.next()
    }
  }

HEAD 1.2.2

Description of Subsection 2 in Section 2.

Example
  nextWhenVisible() {
    // Don't call next when the page isn't visible
    // or the carousel or its parent isn't visible
    if (!document.hidden && isVisible(this._element)) {
      this.next()
    }
  }

Head 1.3

Description of Section 3.

Example
  nextWhenVisible() {
    // Don't call next when the page isn't visible
    // or the carousel or its parent isn't visible
    if (!document.hidden && isVisible(this._element)) {
      this.next()
    }
  }

HEAD 1.3.1

Description of Subsection 1 in Section 3.

Example
  nextWhenVisible() {
    // Don't call next when the page isn't visible
    // or the carousel or its parent isn't visible
    if (!document.hidden && isVisible(this._element)) {
      this.next()
    }
  }

HEAD 1.3.2

Description of Subsection 2 in Section 3.

Example
  nextWhenVisible() {
    // Don't call next when the page isn't visible
    // or the carousel or its parent isn't visible
    if (!document.hidden && isVisible(this._element)) {
      this.next()
    }
  }