Am looking for a wiki formatting widget for my django application, just like the one am using to type this question in stackoverflow?
Asked
Active
Viewed 1,191 times
2
-
a google search with "markup editor" gives you plenty of suggestions. – bchhun Jan 24 '09 at 16:39
-
There are two different common types: "Wiki formatting" and "Markdown"; the former is what Trac/Wikipedia uses, and the later is what SO uses. All the questions so far seem to point to Markdown, but nobody seems to know how to use *wiki formatting* which is what the OP actually asked for. Also see this duplicate: http://stackoverflow.com/questions/2143805/how-do-i-use-wiki-formatting-in-a-django-python-web-application – Nick Bolton Jan 27 '10 at 00:52
-
If you're looking for Trac wiki formatting, check out this: http://www.djangosnippets.org/snippets/1047/ – Nick Bolton Jan 27 '10 at 01:47
3 Answers
3
There are two parts to this question. If you're looking for the client-side Javascript WYSIWYG (or WYSIWYM) editor widget, that's unrelated to Django and WMD is a fine choice (though personally I prefer MarkItUp!).
If you're looking for the server-side (Django) piece of the equation, you might check into django-markitup.

Carl Meyer
- 122,012
- 20
- 106
- 116
2
Stack Overflow uses WMD for their editing. This is an editor for the Markdown language, which, while not strictly wiki markup, is quite close.
An un-obfuscated Stack Overflow-edition version of WMD is available here.

Lucas Jones
- 19,767
- 8
- 75
- 88
-
if you use the Stack Overflow version, be aware that it was reverse-engineered in violation of the WMD license terms and without the author's permission. – Carl Meyer Jan 24 '09 at 19:24
-
1Although, to be fair, the author was going to give them the unobfuscated version. – Lucas Jones Jan 24 '09 at 22:06
-
Perhaps. But the fact is he didn't, and no-one but him has the right to presume what he "would have done" or "meant to do." – Carl Meyer Jan 26 '09 at 16:44
0
You can check out my plugin for Django CMS, which adds Trac wiki syntax (with Trac macro support):

Mitar
- 6,756
- 5
- 54
- 86