Skip to content
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

Markdown property pane control? #162

Closed
1 of 3 tasks
hugoabernier opened this issue Feb 9, 2019 · 1 comment
Closed
1 of 3 tasks

Markdown property pane control? #162

hugoabernier opened this issue Feb 9, 2019 · 1 comment
Labels
area:new-control status:fixed-next-drop Issue will be fixed in upcoming release.
Milestone

Comments

@hugoabernier
Copy link
Contributor

Category

  • Enhancement
  • Bug
  • Question

Expected / Desired Behavior / Question

I recently needed a way to add help in a web part property pane that shows users the syntax they should use -- similar to what the out-of-the-box Markdown web part does.

Here is the out-of-the-box Markdown web part's property pane:
Markdown within Markdown

And here is mine (see the Syntax help group in the property pane below):
Markdown property control

Is this something that the community would need? I see it as a complement to the WebPartInformation control (which is awesome!), but it adds support for any markdown, and allows the web part hosting the control to override how some of the tags will render.

In my sample, I render the H2 and H3 tags to mimic the look and feel of the Markdown web part.

I want to make it clear: this is a read-only view of markdown content, used to provide help and guidance, not a markdown editor.

If you want to see more, here is the repo.

Let me know your thoughts?

@AJIXuMuK
Copy link
Collaborator

Hey @hugoabernier,

It can be something helpful!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:new-control status:fixed-next-drop Issue will be fixed in upcoming release.
Projects
None yet
Development

No branches or pull requests

2 participants