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

Added forgot-to-render detection #102

Merged
merged 26 commits into from
Sep 30, 2013
Merged

Conversation

adam-p
Copy link
Owner

@adam-p adam-p commented Sep 30, 2013

When attempting to send an email Thunderbird, Postbox, or Gmail (all browsers), Markdown Here will detect whether there is raw, unrendered Markdown in the email and prompt the user to either go back and render or continue to send.

Closes issue #90.

…ome refactoring and options work to do. And Thunderbird.
…+Opera. Added some test cases. Refactored Firefox to use new background request style.
…This should take care of the rampant false-positive forgot-to-render prompts.
…eedback suggested that it's nice than the HTML prompt we're using for Chrome.) Some refactoring should still be done to reduce code duplication between Firefox and Thunderbird (i.e., the openDialog call).
…oduced while working on Safari. Fix some jshint warnings.
…update when rendering complete. This avoids the window where the user could render, quickly attempt to send, and be told they hadn't yet rendered.
…aving marked.js as a parameter for now, though. Still thinking about the best way to do detection.)
…ed the need for a document parameter to markdownRender.
…-to-render MD detection. Still need to get rid of now-duplicate html-to-text code used when rendering.
…eck is now done at send time rather than periodically. Made new HTML-to-text code also take a range. Test cases need updating.
adam-p added a commit that referenced this pull request Sep 30, 2013
@adam-p adam-p merged commit 9f7bebd into development Sep 30, 2013
jfx2006 added a commit to jfx2006/markdown-here that referenced this pull request Nov 26, 2024
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.

1 participant