google / peoplemath

Web application for team planning
Apache License 2.0
126 stars 34 forks source link

Support basic Markdown in objectives (#31) #148

Closed amdw closed 3 years ago

amdw commented 3 years ago

The one problem with this right now is that if you enable Markdown for an objective and add a link, the link will appear in the preview, but it won't be there when you OK out of the edit dialog, because the period will still be in edit mode.

Rather than eliminating links altogether in edit mode, it would be better to replace them with underlined text. That way, the user will see that their Markdown has not been ignored. If they try to click the link, it will reopen the edit dialog, which is the desired behaviour. Then, when the user disables edit mode, the link will be displayed and should work as expected.

amdw commented 3 years ago

It would probably also be sensible to give the user some indication in the UI of what types of Markdown are supported.