forked from adam-p/markdown-here
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated changelist. Updated translations.
- Loading branch information
Showing
12 changed files
with
377 additions
and
278 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
Markdown Here允许你在发送电子邮件之前用Markdown语法编辑并转换它(让它看起来漂亮极了!)。 | ||
|
||
这对于那些不喜欢在撰写电邮时反复摆弄排版按钮的人无疑是好消息。 它特别适合那些要在电子邮件中插入代码的程序员们 —— 没错,它甚至支持语法高亮显示。 对于我们之中的数学家们而言,Markdown Here也支持转换TeX公式。 | ||
|
||
使用起来十分简易: | ||
1. Write your email in your email client's rich editor using Github-flavoured Markdown. | ||
2. Right-click in the compose area and then click "Markdown Toggle". | ||
3. Your email is now pretty! (That is, it's been rendered to HTML.) | ||
4. If you like the way it looks, just send it. If you want to change or add something, click "Markdown Toggle" again to get back to your original Markdown. | ||
5. Repeat as necessary. | ||
|
||
Markdown Here is primarily targeted to work with Gmail and Thunderbird, but it also works pretty well with Yahoo and Hotmail. Additionally, it works great with Google Groups and Sites, Evernote's web interface, Blogger, Wordpress, and more! | ||
|
||
Syntax highlighting note: Use fenced code blocks and specify the language name. See the project page for an example. | ||
|
||
Privacy: Markdown Here accesses and modifies web content when you activate it. It can, in theory, access other web content, but does not. It also makes no Internet requests whatsoever. Your data is modified when and where you choose, and does not leave your browser. | ||
|
||
Available as a Chrome, Firefox, Safari, Opera, and Thunderbird extension. | ||
|
||
This is an open source project. Visit Markdown Here's Github page for full instructions, more information, bug reports, or to contribute. | ||
|
||
http:https://markdown-here.com | ||
https://github.com/adam-p/markdown-here |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
On Wed, May 16, 2012 at 9:51 PM, Buddy <[email protected]> wrote: | ||
|
||
> Hey pal! | ||
|
||
Hi Buddy. | ||
|
||
> Can you send me some sweet code? | ||
|
||
**This** is pretty great: | ||
|
||
```clojure | ||
(defn hello [x] (str "Hello", x)) | ||
(hello "Clojure") | ||
``` | ||
|
||
> Thanks in advance! | ||
|
||
No problem. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
## Sweet Screenshot Markdown | ||
|
||
*Markdown Here* is a Google Chrome, Firefox, and Thunderbird extension that lets you write email in Markdown and render it before sending. | ||
|
||
* Markdown is **cool**. Put `code inline`. | ||
* Link to stuff, like [this project](https://github.com/adam-p/markdown-here). | ||
* Ordered, you say? **And** a sub-list? | ||
1. Done. | ||
2. And done. | ||
|
||
Actual review quote: | ||
|
||
> Does exactly what I need it to do. Markdown support in email without getting in the way. | ||
|
||
### Syntax highlighting: super rad | ||
|
||
Some JavaScript: | ||
|
||
```javascript | ||
alert('Hello Markdown'); | ||
``` | ||
|
||
How about an unusual example -- a diff: | ||
|
||
```diff | ||
diff --git a/src/common/markdown-here.js b/src/common/markdown-here.js | ||
index 24dcb97..20c36a1 100644 | ||
--- a/src/common/markdown-here.js | ||
+++ b/src/common/markdown-here.js | ||
@@ -201,12 +179,14 @@ function makeStylesExplicit(wrapperElem, css) { | ||
- applyStyleToElement(rule.style, selectorMatches[j]); | ||
+ styleAttr = selectorMatches[j].getAttribute('style') || ''; | ||
+ styleAttr += rule.style.cssText; | ||
+ selectorMatches[j].setAttribute('style', styleAttr); | ||
``` | ||
|
Oops, something went wrong.