Skip to content

Conversation

@Bentroen
Copy link
Member

Overview

Our blog posts use Markdown syntax for formatting. An excerpt of the post's content is extracted to create the post preview cards, as seen below:

image

However, Markdown syntax is not applied in the preview, so the text is displayed unformatted.

This commit introduces remove-markdown as a dependency and calls its function on the blog post's excerpt prior to rendering, stripping any Markdown syntax and rendering the contents as plain text.

image

It also increases the excerpt's length from 200 to 250 characters to account for the shrinkage arising from the Markdown syntax removal.

@Bentroen Bentroen merged commit c7e1675 into develop Jan 26, 2026
3 checks passed
@Bentroen Bentroen deleted the fix/markdown-on-blog-preview branch January 26, 2026 03:25
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.

2 participants