Markdown and Gist support for http://blog.renren.com/ .
http://blog.renren.com/ uses a modified version of TinyMCE as its rich-text editor, with extra server-side clean-up. This is supposed to block possible XSS attacks, but as a result, formatting is severely limited. Renren-markdown circumvents this by converting arbitrary Markdown, alongside with embedded Gists, into TinyMCE, with almost all formatting/styling preserved.
NOTICE: Renren-Markdown will OVERWRITE existing content in the TinyMCE editor!
- on-the-fly markdown conversion and previewing (through TinyMCE)
- retains markdown source for editing
- github markdown styling
- autolinks to gists are embedded (e.g.
https://gist.github.com/gist/4344334
)- markdown content in gists are automatically unwrapped
- renren emoticons through image syntax (e.g.
![(mb)]()
)
- Install your favorite userscript environment (GreaseMonkey/TamperMonkey/NinjaKit...)
- http://userscripts.org/scripts/show/154555
Use chrome store link: https://chrome.google.com/webstore/detail/renren-markdown/iiabjaofopjooifoclbpdmffjlgbplod
Renren-markdown is built using Grunt.
npm install
grunt clean
grunt prepare
grunt
Chrome plugin: dist/chrome
(unpacked)
Userscript: dist/gm
(before v0.4.34: not kept)
2013-04-05 : v0.5.5
- workaround: firefox update broke compatibility
2013-03-28 : v0.5.4
- workaround renren blog site update
2013-03-16 : v0.5.2
- unified build for chrome and greasemonkey
- FIX: now circumvents blog.renren.com "@-mention" implementation bug
2013-03-14 : v0.5.0
- migrate to Grunt
- more non-standard-browser-behavior-resistance (against FireFox)
- better css handling
2013-03-10 : v0.4.34
- FIX:
\t
handling (hardcoded as 8 spaces)