-
Notifications
You must be signed in to change notification settings - Fork 421
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
Feature Request: Preview Post #443
Comments
what's the best way to do this? like how github does it with a "write" tab and "preview" tab? |
With http://github.com/isotope11/wacky I do side by side realtime updates, but this strikes me as Not Very Non Techie Friendly. Still thought I'd bring it up. |
that's a neat idea. just curious, how do you deal with malformed content? like when adding |
Poorly :) |
lol. well, stackoverflow does realtime preview but stacked vertically. so not a bad idea. i do think github's write/preview tab is easy to understand for non-technies and would be much easier to implement though |
Seems like you could write a JSON web service to format your preview markdown, then shove the output into a DIV via jQuery.get(). Clicking "Preview" runs the callback. |
The way I do it is to use a javascript markdown formatter, which is substantially faster and 'mostly-right'. That way you can do it in realtime and not by clicking preview. Obviously, if a 'preview' tab is used then that's the way to go so it matches perfectly how the server will render. I opted for the quicker feedback, and it's extremely rare to find an edge case where the two disagree for my uses (but for instance, with emoji, etc. I would expect that gap to widen) |
I'm thinking Forem shouldn't limit the users to markdown. Some users might want forums to support bbcode for example or even straight html shudder. Thoughts? |
No. Just no. I don't want to be tasked with maintaining more than one way to do things. Markdown is the one true way. On Fri, Jul 19, 2013 at 6:44 PM, daniely notifications@github.com wrote:
|
That settles that :) |
For what it's worth, I agree with Radar. That's the right decision. |
This is expected functionality with forums. People like to preview their post before committing their written words to the wild. Opening this as a starting point for consideration/discussion.
The text was updated successfully, but these errors were encountered: