Skip to content

Conversation

@emmadesilva
Copy link
Member

@emmadesilva emmadesilva commented Jul 24, 2024

This simplification means that the method is more predictable, and better follows the principle of least astonishment. I've been so confused so many times about this that using our Markdown helper does not always mean that we get our Markdown features. This change means that any time you call this method, custom Markdown features like our shortcodes and processors will be applied.

A side effect of this is in unit tests, as the method now requires the kernel and config to be set up.

@emmadesilva emmadesilva force-pushed the simplify-markdown-rendering-helper branch from a53c5d0 to 1860756 Compare July 24, 2024 16:37
@emmadesilva emmadesilva merged commit 2df0527 into 2.x-dev Jul 24, 2024
@emmadesilva emmadesilva deleted the simplify-markdown-rendering-helper branch July 24, 2024 16:39
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