Skip to content

markdown rendering issues #7

@oktaysenkan

Description

@oktaysenkan

Overview

When rendering markdown content, the h1 heading disappears if there is additional content after it.
If the markdown only contains the h1, it is displayed correctly.
However, when there is any text following the heading, the h1 becomes hidden / not rendered visibly.

Code example:

const content = `
# Hello World

This is **bold text** and *italic text*.

Here's some \`inline code\` and a list:

- Item 1
- Item 2
- Item 3
`;
Image
const content = `
# Hello World
`;
Image

Reproducable Code

<StreamdownRN>{content}</StreamdownRN>

Version Info

"streamdown-rn": "^0.1.6"

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