Skip to content
GitLab
Next
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    Projects Groups Snippets
  • Register
  • Sign in
  • GitLab GitLab
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 48,748
    • Issues 48,748
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1,568
    • Merge requests 1,568
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.orgGitLab.org
  • GitLabGitLab
  • Issues
  • #217348
Project 'gitlab-com/gl-infra/infrastructure' was moved to 'gitlab-com/gl-infra/reliability'. Please update any links and bookmarks that may still have the old path.
Closed
Open
Issue created May 11, 2020 by Gabe Weaver@gweaver🐣Developer

Automatically Convert HTML Tables to Markdown

Problem

Markdown tables are often tedious and time consuming to create. Some folks may have an existing HTML tables, or prefer to create tables natively with HTML, that they want to include in descriptions or comments.

Proposal

Similarly to how we automatically parse spreadsheet rows/columns into markdown tables, we should support converting HTML tables to Markdown tables when pasted from the clipboard.

Considerations

  • There is a high probably that some folks want to retain the HTML table and not convert it to markdown. This would be a common use case when trying to paste a code snippet into a code block. We should handle this intelligently and gracefully for the end user.

Inspiration

  • https://twitter.com/simonw/status/1259158575546417153 has a ton of information, including links to https://domchristie.github.io/turndown/ and https://euangoddard.github.io/clipboard2markdown/
Edited Sep 02, 2020 by 🤖 GitLab Bot 🤖
Assignee
Assign to
Time tracking