Skip to content

Conversation

@ava-silver
Copy link

@ava-silver ava-silver commented Oct 5, 2025

Substack adds a pre block to make sure text doesn't lose its whitespace/formatting, as well as a label with text to mention this. The label is redundant and the pre makes the text more difficult to read.

This feature ensures that the label is removed and the pre block is replaced with a div (with space preserving css) to make it more readable.

Before After
image image

@ava-silver ava-silver changed the title [FEAT] add substack pre parser for cleaner layout feat: add substack pre parser for cleaner layout Oct 5, 2025
@ava-silver ava-silver changed the title feat: add substack pre parser for cleaner layout feat: add substack parsing for cleaner layout Oct 6, 2025
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.

1 participant