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

Add markdown formatting to input descriptions. #564

Merged
merged 1 commit into from
Dec 2, 2024

Conversation

arscan
Copy link
Contributor

@arscan arscan commented Nov 22, 2024

Summary

This adds some logic that formats input description markdown in the serializer. This implementation assumes our eventual movement of unindenting texts automatically at the serialization level instead of earlier in the process.

I put this in another PR to merge into the base PR because I would like @Jammjammjamm to review and decide if we should just shelve this until a bigger refactor later, or if it is clean enough to get into the other markdown PR so we can fully 'ship' an input markdown feature without having the test writer unindent manually for this specific case.

Testing Guidance

Demo Suite > Demo Group 1 > Demo Group Instance 1 should have proper markdown description in the group, as well as in one of the inputs when you 'Run' it.

Screenshot 2024-11-22 at 12 18 33 PM

@arscan arscan merged commit 04d44ff into FI-3261-markdown-descriptions Dec 2, 2024
@arscan arscan deleted the unindent_input_markdown branch December 2, 2024 15:28
AlyssaWang added a commit that referenced this pull request Dec 17, 2024
* add markdown descriptions to text input

* replace requirement with input

* update deprecated prop

* replace react markdown with markdown

* add example

* fix broken test

* Add markdown formatting to input descriptions. (#564)

* fix lint errors

* resolve preset errors

---------

Co-authored-by: Rob Scanlon <robscanlon@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants