Please feel free to discuss anything Markdown Here related.
It's probably best if you create a new Github issue for any bug reports or feature requests, but... if you'd like to launch (or get involved in) a conversation about anything, or ask a question, then you're in the right place.
And remember: You can use Markdown Here when writing a Google Groups post! Cool kids will do this.
I want to include an example of Markdown Here usage in Google groups, so...
Markdown Here is a Google Chrome, Firefox, and Thunderbird extension that lets you write email in Markdown and render it before sending.
code inline
.Actual review quote:
Does exactly what I need it to do. Markdown support in email without getting in the way.
Some JavaScript:
alert('Hello Markdown');
How about an unusual example -- a 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);
Here's the source of the above:
## Sweet Google Groups 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);
```
понедельник, 28 января 2013 г., 2:17:38 UTC+2 пользователь Adam Pritchard написал:
This is great!
It works fine in gmail, but...
how do you use it in groups? (Or how do you connect with rich text editor to groups?)
I get this
"The selected field is not valid for Markdown rendering. Please use a rich editor."
When I try to use it in google groups.
Thanks,
Joost
Thanks,
Jim
I am having a problem with markup in GMAIL. When ever I send an email using markup it is sent as plain text.—-