Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implementing list inside table in markdown #360

Open
kennethk-1201 opened this issue Apr 9, 2023 · 2 comments
Open

Implementing list inside table in markdown #360

kennethk-1201 opened this issue Apr 9, 2023 · 2 comments

Comments

@kennethk-1201
Copy link

I would like to have a list inside a table cell for my UG. I tried using HTML but it ended up displaying the raw text for my table on Github pages.

Is there a way to have a list (eg. bullet points) inside a table cell in the UG?

@zm-l
Copy link

zm-l commented Apr 9, 2023

Based on what I tried, you can consider writing the entire table in html based on: https://stackoverflow.com/questions/19950648/how-to-write-lists-inside-a-markdown-table

@CorgiDev
Copy link

CorgiDev commented Oct 8, 2024

You can also use HTML inline within a markdown table since GitHub markdown supports inline HTML. The following code block is an example of this:

| Column 1 | Column 2 | Column 3 |
|:---------|:---------|:---------|
| Placeholder text | Example List: <ul><li>list item 1</li><li>list item 2</li></ul> | <ul><li>list item 1</li><li>list item 2</li></ul> |

The prior code block example would display like this:

Column 1 Column 2 Column 3
Placeholder text Example List:
  • list item 1
  • list item 2
  • list item 1
  • list item 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants