Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8919493
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T06:02:28+00:00 2026-06-15T06:02:28+00:00

Is there a way to input a newline into a table cell? For example,

  • 0

Is there a way to input a newline into a table cell? For example, say I have a table like this:

+==========+==========+==========+
+ Header 1 + Header 2 + Header 3 +
+==========+==========+==========+
+ Item 1   +          +          +
+ Item 2   +          +          +
+----------+----------+----------+

I want the above to create a table with two rows, three columns, and the second row, first column to display Item 1 and Item 2 on separate lines.

I have tried the line blocks syntax |, but it doesn’t work inside a table cell. I can use list syntax, but I don’t want bullet points to appear.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T06:02:30+00:00Added an answer on June 15, 2026 at 6:02 am

    First of all I think your table syntax is incorrect, should it not be:

    +----------+----------+----------+
    | Header 1 | Header 2 | Header 3 |
    +==========+==========+==========+
    | Item 1   |          |          |
    | Item 2   |          |          |
    +----------+----------+----------+
    

    Note that the top row is made up of hyphens, not equal signs, and the rows are separated by pipes, |, not plus signs.

    Now with this table, the line block syntax:

    +----------+----------+----------+
    | Header 1 | Header 2 | Header 3 |
    +==========+==========+==========+
    | | Item 1 |          |          |
    | | Item 2 |          |          |
    +----------+----------+----------+
    

    seems to work: testing with Pandoc the bottom left cell gets transformed into the following HTML:

    <td align="left">Item 1<br />Item 2</td>
    

    Note the line break <br /> in between Item 1 and Item 2.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

is there a way to get user input like an inputbox in c#? i
Is there any way to set a CSS class on an input item in
Is there a way to turn off auto-complete on an input-field using jQuery? Like
When using the select.select() method in Python, is there any way to use input
Is there any way to disable all input fields in an div container with
Is there a way with the JQueryValidation plugin to set the input css class
Is there any way to find particular C language function's input and output parameters
Is there any way to access a tr from an input of a tr
Is there a way to get an <input /> -field in HTML to wrap
is there a way to add an image to a regular <input type =

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.