-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Meta][Discuss] Deprecation of Markdown Components #141166
Comments
@rshen91 I have information about how users use Markdown in Dashboards. I would like to better understand the impact of this change and I can share a list of requirements for Dashboards. Should we schedule a call? |
Looking at the snippet, the exact file is In that case, this package is owned by @elastic/kibana-operations, not either of the two other teams you listed here 😄 |
A note on the ownerships noted above: Also I don't see this on the list but Markdown from react-plugin is used from vis_types_timeseries plugin too. (TSVB) |
@rshen91 thanks for taking this on! If you find anything the EUI team can assist with please let us know (slack message or github issue are likely best), and we welcome any feedback you develop. |
@rshen91 the usage described in I think this means it's exempt from this change, right? Or is there also going to be a shared-ux API for parsing markdown in node? |
I believe this is a duplicate of the work done by @eokoneyo |
Summary
Markdown
,MarkdownSimple
,Markdown-it
etc. are used in various parts of Kibana. These implementations of Markdown will be deprecated and condensed into one implementation for a future Shared UX component. Please see #140207 for more information. This component will use theEuiMarkdownFormat
component (currently in beta). In migrating to this new Markdown component, we will be able to provide feedback to @elastic/eui-design before their GA of the component.The purpose of this PR is to track the implementations of markdown currently in Kibana and alert teams of the deprecation and then migration to a new component.
Please feel free to add any comments/clarifications on requirements you would expect from the future Markdown component. Thank you!
MarkdownSimple from kibana-react
@elastic/kibana-data-discovery currently is using MarkdownSimple component in the following places:
From what I understand, the MarkdownSimple is used similarly to a callout but with Markdown formatting. No special props implemented.
Markdown from kibana-react
A more complex use of Markdown accepting props, such as markdown, openLinksInNewTab. Implemented in the following places:
Used for documentation with internationalization
Example:
Similar to the second implementation listed, this component is used alongside internationalization of text.
TimeseriesVisTypes
constantMarkdownIt from markdown-it
The text was updated successfully, but these errors were encountered: