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

Rendering markdown in a single Text view #12

Merged
merged 1 commit into from
Jun 1, 2024
Merged

Conversation

Sjmarf
Copy link
Collaborator

@Sjmarf Sjmarf commented Jun 1, 2024

Renamed InlineMarkdown to MarkdownText, and added capability for rendering a [BlockNode] tree. This allows us to easily render markdown with a set .lineLimit, or otherwise constrain it to some size. Obviously, this comes with some caveats - it won't render tables or spoiler content, for example, and code blocks don't scroll horizontally.

@Sjmarf Sjmarf merged commit f157a87 into main Jun 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant