A React component that combines localization with markdown rendering.
This component automatically handles the localization of markdown content using nls.localize
and then renders it using the Markdown component.
Example: Basic usage
<LocalizedMarkdown localizationKey="theia/mypackage/welcome" defaultMarkdown="Welcome to **Theia**!" markdownRenderer={this.markdownRenderer} className="welcome-message" />
Example: With parameters
<LocalizedMarkdown localizationKey="theia/mypackage/greeting" defaultMarkdown="Hello **{0}**! You have {1} new messages." args={['Alice', 5]} markdownRenderer={this.markdownRenderer} />
A React component that combines localization with markdown rendering.
This component automatically handles the localization of markdown content using
nls.localizeand then renders it using the Markdown component.Example: Basic usage
Example: With parameters
Example: With command links