fix: render Help page Markdown content instead of plain text#947
Merged
fix: render Help page Markdown content instead of plain text#947
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Replace multiple type:'text' components with a single type:'markdown' component that properly renders Markdown syntax (headers, lists, bold). The markdown plugin is already registered in the console app. Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix rendering of Markdown content on Help page
fix: render Help page Markdown content instead of plain text
Mar 1, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR fixes Markdown-formatted content on the CRM Help page rendering as plain text by switching the page schema to use the already-available markdown component and ensuring the markdown plugin is registered in the console test environment.
Changes:
- Update CRM Help page schema to render its content via a single
type: 'markdown'component (instead of multipletextnodes containing Markdown syntax). - Register
@object-ui/plugin-markdownin the console browser simulation test setup via a side-effect import.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
examples/crm/src/pages/help.page.ts |
Replaces the prior container + multiple text children approach with a single markdown component and consolidated Markdown content. |
apps/console/src/__tests__/BrowserSimulation.test.tsx |
Adds import '@object-ui/plugin-markdown' so the markdown renderer is registered during integration-style tests. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CRM Help page used
type: 'text'components for Markdown-formatted content (#,**,-), which renders as plain text. The@object-ui/plugin-markdowncomponent already exists and is registered in the console app.examples/crm/src/pages/help.page.ts— Replace container of 8textchildren with a singlemarkdowncomponent, consolidating content into one Markdown stringapps/console/src/__tests__/BrowserSimulation.test.tsx— Addimport '@object-ui/plugin-markdown'to register the component in the test environment (matches existing pattern for dashboard/report/fields plugins)Before:
After:
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.