Skip to content
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.

Support Markdown w/ Preview #12

Closed
stuartmscott opened this issue Oct 8, 2021 · 5 comments
Closed

Support Markdown w/ Preview #12

stuartmscott opened this issue Oct 8, 2021 · 5 comments
Labels
enhancement New feature or request

Comments

@stuartmscott
Copy link
Member

Markdown should be supported to enable authors to have more control of how their work is structured and presented.

A preview option is also necessary to allow authors to ensure everything is rendering correctly before submission, this is even more important as editing is not yet supported (#3).

@winksaville
Copy link

I'd like to suggest that this be split into two issues, one to add markdown the other to add Write/Preview tab, which would be useful with or without markdown.

@stuartmscott
Copy link
Member Author

Good point.

I didn't want to clutter the UI with an option to switch between plain text and markdown, and since plain text can be written in markdown I was planning to switch entirely to a markdown editor. I assumed most libraries offering this would also offer a preview so I conflated the two in my head.

@winksaville
Copy link

winksaville commented Oct 9, 2021 via email

@stuartmscott stuartmscott added the enhancement New feature or request label Oct 12, 2021
@stuartmscott
Copy link
Member Author

The Github editor works well, but I wonder if the submit button should first take the author from the write tab to the preview tab and they can submit from there so they always see a preview, or is this two-step publishing a pain?

@winksaville
Copy link

Since GitHub allows you to re-edit it's probably ok, although it gets published (emailed) so a two step would still be worth it.

My opinion is the user should have a global setting so they can choose confirmation or not, which is what Google provides when sending email.

stuartmscott added a commit that referenced this issue Nov 14, 2021
Fixes: #6, #12

For the both the publish and reply forms, the first click of the submit
button changes the current tab to preview, the second submits the form.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants