Skip to content

Optional Newline support #4118

@matthewmueller

Description

@matthewmueller

Not sure the best place to put this issue, but it'd be good to have optional newline support built into the JSX compiler.

Here's an example:

render: function () {
  return (
     <Markdown preserveWhitespace="true">
       # Hi whitespace is important in this tag

       Please add an option to keep all my spaces!
     </Markdown>
  )
}

I see this as giving developers more power to create better elements.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions