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

Allow markdown in field hints #3759

Open
jeremyzilar opened this issue May 14, 2020 · 3 comments
Open

Allow markdown in field hints #3759

jeremyzilar opened this issue May 14, 2020 · 3 comments
Labels
area: extensions/widgets/markdown area: ux good first issue type: feature code contributing to the implementation of a feature and/or user facing functionality

Comments

@jeremyzilar
Copy link
Contributor

Would it be possible for the hint parameter to be able to render markdown text?

As an editor, the text below each field is a very valuable place for including helpful reminders, style examples, links to the style guide, etc... Having the ability to make certain words bold, italic, add links is super helpful, if not essential.

Here is an example of the summary field:

- label: "Summary"
  name: "summary"
  minimal: true
  widget: "string"
  default: ""
  hint: "One-sentence description of the event. _(e.g. Artist [Name] with writer [Name], discuss creative life in the context of our new social reality.)_"
@erezrokah erezrokah added type: feature code contributing to the implementation of a feature and/or user facing functionality area: ux labels May 17, 2020
@hanneskuettner
Copy link
Contributor

If I'm not mistaken we are using unified in the markdown widget for all it's extendability. Is it work maybe using remark or something like this for this feature in the core? Or should we stick with unified in the core as well?

@smakinson
Copy link

I was thinking the same thing for the summary for the list view. I am also looking for a way to add a newline or something to allow an article title and its date to be separated for readability in the list via the summary.

@mcolmant
Copy link

mcolmant commented Feb 11, 2021

This feature will be really great for us too and it will improve the UI a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: extensions/widgets/markdown area: ux good first issue type: feature code contributing to the implementation of a feature and/or user facing functionality
Projects
None yet
Development

No branches or pull requests

5 participants