Skip to content

Comments

[RFC] [RFC] Split markdown rendering to a separate package. #595#647

Draft
ditman wants to merge 4 commits intogoogle:mainfrom
ditman:inject-markdown-renderer-only
Draft

[RFC] [RFC] Split markdown rendering to a separate package. #595#647
ditman wants to merge 4 commits intogoogle:mainfrom
ditman:inject-markdown-renderer-only

Conversation

@ditman
Copy link
Collaborator

@ditman ditman commented Feb 20, 2026

Description

This PR addresses some feedback on #595 by dropping some of the "implementation" packages for the markdown renderer, and directly using an injected renderMarkdown function if present. It adds some core types for the generic markdown renderer to be configured and injected.

It also updates the lit shell sample app to inject the pre-built renderer, to display how end-users will interact with this.

Pre-launch Checklist

If you need help, consider asking for advice on the discussion board.

@gemini-code-assist
Copy link
Contributor

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

Copy link
Collaborator

@jacobsimionato jacobsimionato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey thanks for iterating - this seems a lot lighter! It looks like angular support is gone, but ideally it will be possible to use this same shared interface/package for Angular?

This is used across all JS renderers, so the configuration is consistent. Each
renderer has a specific facade package that uses this renderer as a dependency.

End users should use the facade package for their renderer of choice.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this still true? It seems like you've managed to reduce it from 3 additional packages to 1, which is excellent!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

2 participants