Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Merge requests
  • !1600

Closed
Created Sep 30, 2012 by Administrator@rootOwner
  • Report abuse
Report abuse

Allows to use markdown tables, automatic table of contents and HTML

  • Overview 43
  • Commits 3
  • Changes 3

Created by: Anthony-Gaudino

This patch will allow to embed tables, generate automatic table of contents and add custom HTML within Markdown. Documentation is also updated accordingly.

I tested the code with Travis: https://travis-ci.org/#!/Anthony-Gaudino/gitlabhq/builds/2614387 Merged the feature branch with Master before testing, so test was made with the change.

Here is an example image: http://www.freeimagehosting.net/p7dyx

And here is the source: http://pastebin.com/vHKpyvza


Commit 32657a5b will make ~toc~ only work if placed on first line of content, so if for whatever reason there's a ~toc~ in the content it will not trigger the TOC feature.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: github/fork/Anthony-Gaudino/markdown_tables_toc_html